From fde4f64b8395bfbb8e7b29f0649d7ce810d9922c Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 20 Dec 2024 00:59:46 +0100 Subject: [PATCH] simplify this crap and make compiler happy --- src/sdl/ogl_sdl.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/sdl/ogl_sdl.c b/src/sdl/ogl_sdl.c index 43de323a7..710986e77 100644 --- a/src/sdl/ogl_sdl.c +++ b/src/sdl/ogl_sdl.c @@ -273,11 +273,12 @@ void OglSdlFinishUpdate(boolean waitvbl) // Sryder: We need to draw the final screen texture again into the other buffer in the original position so that // effects that want to take the old screen can do so after this - if ((!I_CheckNativeRes()) // well we dont need it on native res it seems + // well we dont need it on native res it seems #ifdef USE_FBO_OGL - && (!UseScreenFBO()) + if (!I_CheckNativeRes() && !usefbo) +#else + if (!I_CheckNativeRes()) #endif - ) HWR_DrawScreenFinalTexture(realwidth, realheight, false); }