From 231a7f1366d02a2bf1d07ce91448891486c8a40f Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 20 Dec 2024 00:57:57 +0100 Subject: [PATCH] simplify this crap and make compiler happy --- src/sdl/ogl_sdl.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/sdl/ogl_sdl.c b/src/sdl/ogl_sdl.c index e7dbbb32a..f93ce8cde 100644 --- a/src/sdl/ogl_sdl.c +++ b/src/sdl/ogl_sdl.c @@ -297,16 +297,13 @@ 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 - || WipeInAction - ) - HWR_DrawScreenFinalTexture(realwidth, realheight, false); - - //HWR_DrawScreenFinalTexture(realwidth, realheight); - //GL_DrawScreenFinalTexture(HWD_SCREENTEXTURE_GENERIC2, realwidth, realheight); + GL_DrawScreenFinalTexture(HWD_SCREENTEXTURE_GENERIC2, realwidth, realheight, false); } #endif //HWRENDER