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:43:55 +0100
commit792e173027d5e6077375a29c6c64fca01f7a94d9 (patch)
tree09bf548b180072f328501ef7d23b17d35c0bcc55
parentec1df37a1940063dc0dbc45ad2dab638bdc92c0d (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);
}