From 722a4a1769b2affa10c03b84d1ff727c06ce90dd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 19 Aug 2025 21:19:53 +0200 Subject: Rename size -> out_size. --- src/wx/gl_video_view.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc index bb2b47b23..fe9dd8f3f 100644 --- a/src/wx/gl_video_view.cc +++ b/src/wx/gl_video_view.cc @@ -676,14 +676,14 @@ GLVideoView::set_image(shared_ptr pv) class Rectangle { public: - Rectangle(wxSize canvas_size, float x, float y, dcp::Size size, Crop crop) + Rectangle(wxSize canvas_size, float x, float y, dcp::Size out_size, Crop crop) : _canvas_size(canvas_size) , _crop(crop) { auto const x1 = x_pixels_to_gl(x); auto const y1 = y_pixels_to_gl(y); - auto const x2 = x_pixels_to_gl(x + size.width); - auto const y2 = y_pixels_to_gl(y + size.height); + auto const x2 = x_pixels_to_gl(x + out_size.width); + auto const y2 = y_pixels_to_gl(y + out_size.height); /* The texture coordinates here have to account for the fact that when we put images into the texture OpenGL * expected us to start at the lower left but we actually started at the top left. So although the -- cgit v1.2.3