return false here
This commit is contained in:
1 parent
816e6a0287
commit
2083daf4c3
1 file changed
+2
-1
+2
-1
@@ -729,12 +729,13 @@ boolean I_CheckNativeRes(void)
|
||||
|
||||
if (SDL_GetCurrentDisplayMode(currentDisplayIndex, &curmode) != 0)
|
||||
{
|
||||
return resstate;
|
||||
return false;
|
||||
}
|
||||
|
||||
resstate = ((vid.width == curmode.w) && (vid.height == curmode.h));
|
||||
oldwidth = vid.width;
|
||||
oldheight = vid.height;
|
||||
|
||||
return resstate;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user