From 2083daf4c350987e410c87f14a1876706f7daae9 Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 20 Dec 2024 00:51:05 +0100 Subject: [PATCH] return false here --- src/sdl/i_video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 2bbbb2676..82690ba31 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -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; }