Remove unused parameters.
authorCarl Hetherington <cth@carlh.net>
Sun, 3 Oct 2021 19:45:12 +0000 (21:45 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 3 Oct 2021 19:45:12 +0000 (21:45 +0200)
src/wx/gl_video_view.cc
src/wx/gl_video_view.h

index 8fdc1523ffbd9f32c2af7aed622caeb36394574b..5d9f2742fa6b165ed94b611b6464cab94b4f0d96 100644 (file)
@@ -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);
        }
 }
index 7ef7b565aaa2fa00f787a8eb212bfc4ab1a30fe0..e64cb63db642e445daae664944ccb0cfeb3427de 100644 (file)
@@ -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 ();