summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-10 23:26:53 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-10 23:26:53 +0100
commitc7ea284552986dcda5046af852653ec9b1e493b3 (patch)
tree7e4495d36b783963b01a8e4b6c76d82e197987fc
parent57fe0f8a2f80245885c26b6e3606f3066ca1a896 (diff)
Remove believed-unnecessary multiple-of-4 image size for GL.
-rw-r--r--src/wx/film_viewer.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 7004ff517..973189178 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -397,10 +397,6 @@ FilmViewer::calculate_sizes ()
_out_size.width = max (64, _out_size.width);
_out_size.height = max (64, _out_size.height);
- /* Make OpenGL happy; XXX: only do this in GLVideoView? Is the round-to-4 constraint a thing? */
- _out_size.width &= ~3;
- _out_size.height &= ~3;
-
_player->set_video_container_size (_out_size);
}