return false here

This commit is contained in:
Alug committed 2024-12-20 00:51:05 +01:00
1 parent 816e6a0287
commit 2083daf4c3
1 file changed
+2 -1
+2 -1
View File
@@ -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;
}