mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
SDL2: Fix 320x200 mode
This commit is contained in:
parent
b1e1163b91
commit
eece38609e
1 changed files with 1 additions and 1 deletions
|
@ -1652,7 +1652,7 @@ INT32 VID_SetMode(INT32 modeNum)
|
|||
vid.recalc = 1;
|
||||
vid.bpp = 1;
|
||||
|
||||
if (modeNum >= 0 && modeNum < MAXWINMODES-1)
|
||||
if (modeNum >= 0 && modeNum < MAXWINMODES)
|
||||
{
|
||||
vid.width = windowedModes[modeNum][0];
|
||||
vid.height = windowedModes[modeNum][1];
|
||||
|
|
Loading…
Reference in a new issue