mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +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.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];
|
||||||
|
|
Loading…
Reference in a new issue