From 473619ab6605d06106ed2e6b5834e5f031cb4e68 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 9 Nov 2026 20:51:02 +0100 Subject: [PATCH] add I_CheckAboveDesktopRes forgor i added this originally for the resolution list rework stuff so was missing here lul --- src/sdl/i_video.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 6f66543b4..6f164974a 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1284,6 +1284,11 @@ boolean I_CheckNativeRes(void) return (vid.width == desktopwidth && vid.height == desktopheight); } +static boolean I_CheckAboveDesktopRes(INT32 width, INT32 height) +{ + return (width > desktopwidth || height > desktopheight); +} + #ifdef USE_FBO_OGL static boolean vid_downsampling = false;