Remove believed-unnecessary multiple-of-4 image size for GL.
authorCarl Hetherington <cth@carlh.net>
Fri, 10 May 2019 22:26:53 +0000 (23:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 10 May 2019 22:43:55 +0000 (23:43 +0100)
src/wx/film_viewer.cc

index 7004ff517393900d737905aa40e915fbf46e7427..973189178fb083189e1583d9c372fc98fbacd2e9 100644 (file)
@@ -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);
 }