diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-10-03 21:45:12 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-10-03 21:45:12 +0200 |
| commit | 1b6b469e927de081367b9cf861f0a551ee43422b (patch) | |
| tree | d386a0ef5d9a6ead09ec6da97a638e6f510cfa03 /src | |
| parent | 7b52f6a8b192e14e6fca763d4be63b6b31bf4661 (diff) | |
Remove unused parameters.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/gl_video_view.cc | 4 | ||||
| -rw-r--r-- | src/wx/gl_video_view.h | 2 |
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 (); |
