SDL2: Fix 320x200 mode

This commit is contained in:
Ronald Kinard 2014-08-31 23:57:08 +00:00 committed by Alam Ed Arias
parent b1e1163b91
commit eece38609e

View file

@ -1652,7 +1652,7 @@ INT32 VID_SetMode(INT32 modeNum)
vid.recalc = 1; vid.recalc = 1;
vid.bpp = 1; vid.bpp = 1;
if (modeNum >= 0 && modeNum < MAXWINMODES-1) if (modeNum >= 0 && modeNum < MAXWINMODES)
{ {
vid.width = windowedModes[modeNum][0]; vid.width = windowedModes[modeNum][0];
vid.height = windowedModes[modeNum][1]; vid.height = windowedModes[modeNum][1];