From 792e173027d5e6077375a29c6c64fca01f7a94d9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 10 May 2019 23:26:53 +0100 Subject: [PATCH] Remove believed-unnecessary multiple-of-4 image size for GL. --- src/wx/film_viewer.cc | 4 ---- 1 file changed, 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); } -- 2.30.2