summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-09-11 18:52:05 +0200
committerCarl Hetherington <cth@carlh.net>2021-09-27 13:41:46 +0200
commit7245e46453a82886739a45bd78fcdf9e8401367c (patch)
treed8f8b3d420eecfc958ac78df40c26f77d34f47d3 /src/wx/gl_video_view.h
parente9ae050b0b15c91c3f591ad84938e60d271357b3 (diff)
When the player is used in OpenGL mode, pass unscaled XYZ data through to the shader and do colourspace conversion there.
Diffstat (limited to 'src/wx/gl_video_view.h')
-rw-r--r--src/wx/gl_video_view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h
index bac195fb1..4bab64348 100644
--- a/src/wx/gl_video_view.h
+++ b/src/wx/gl_video_view.h
@@ -58,7 +58,7 @@ public:
}
private:
- void set_image (std::shared_ptr<const Image> image);
+ void set_image (std::shared_ptr<const PlayerVideo> pv);
void set_image_and_draw ();
void draw (Position<int> inter_position, dcp::Size inter_size);
void thread ();
@@ -86,7 +86,7 @@ private:
boost::atomic<bool> _one_shot;
GLuint _vao;
- GLint _draw_border;
+ GLint _fragment_type;
bool _setup_shaders_done = false;
std::shared_ptr<wxTimer> _timer;