From: Carl Hetherington Date: Fri, 10 May 2019 22:26:53 +0000 (+0100) Subject: Remove believed-unnecessary multiple-of-4 image size for GL. X-Git-Tag: v2.15.1~1 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=792e173027d5e6077375a29c6c64fca01f7a94d9 Remove believed-unnecessary multiple-of-4 image size for GL. --- 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); }