summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/gl_video_view.cc4
-rw-r--r--src/wx/gl_video_view.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc
index 8fdc1523f..5d9f2742f 100644
--- a/src/wx/gl_video_view.cc
+++ b/src/wx/gl_video_view.cc
@@ -460,7 +460,7 @@ GLVideoView::set_border_colour (GLuint program)
void
-GLVideoView::draw (Position<int>, dcp::Size)
+GLVideoView::draw ()
{
auto pad = pad_colour();
glClearColor(pad.Red() / 255.0, pad.Green() / 255.0, pad.Blue() / 255.0, 1.0);
@@ -695,7 +695,7 @@ GLVideoView::set_image_and_draw ()
auto pv = player_video().first;
if (pv) {
set_image (pv);
- draw (pv->inter_position(), pv->inter_size());
+ draw ();
_viewer->image_changed (pv);
}
}
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h
index 7ef7b565a..e64cb63db 100644
--- a/src/wx/gl_video_view.h
+++ b/src/wx/gl_video_view.h
@@ -91,7 +91,7 @@ public:
private:
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 draw ();
void thread ();
void thread_playing ();
void request_one_shot ();