summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-08-19 21:19:53 +0200
committerCarl Hetherington <cth@carlh.net>2025-08-25 08:44:48 +0200
commit722a4a1769b2affa10c03b84d1ff727c06ce90dd (patch)
tree1bfe0da1422e71ffa165a5951f307c30a1ac71bf
parentbfd02e2acc4e4c36ac88caa391eece71a05d8a29 (diff)
Rename size -> out_size.
-rw-r--r--src/wx/gl_video_view.cc6
1 files changed, 3 insertions, 3 deletions
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<const PlayerVideo> 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