From c52d9ec1b902fdfde1fb3b77ff2ca1d248b0068e Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 13 Mar 2011 04:45:35 +0000 Subject: [PATCH] - Relax the restriction that display resolutions must be a multiple of 8 so that they only need be even. The software wiping code requires multiples of two, so odd resolutions cannot be supported without requiring hardware-acceleration (which can be toggled off at any time with immediate effects). The code that required multiples of 8 no longer seems to be present, so now people with cheapo 1366x768 laptop panels can run fullscreen properly. SVN r3166 (trunk) --- src/win32/win32video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/win32video.cpp b/src/win32/win32video.cpp index e9df043d0..b35138fd6 100644 --- a/src/win32/win32video.cpp +++ b/src/win32/win32video.cpp @@ -497,7 +497,7 @@ void Win32Video::AddLetterboxModes () void Win32Video::AddMode (int x, int y, int bits, int y2, int doubling) { // Reject modes that do not meet certain criteria. - if ((x & 7) != 0 || + if ((x & 1) != 0 || y > MAXHEIGHT || x > MAXWIDTH || y < 200 ||