- 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)
This commit is contained in:
Randy Heit 2011-03-13 04:45:35 +00:00
parent c8e8edb1c5
commit c52d9ec1b9

View file

@ -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 ||