simplify this crap and make compiler happy

This commit is contained in:
Alug committed 2024-12-20 00:59:46 +01:00
1 parent 404927c53c
commit fde4f64b83
1 file changed
+4 -3
+4 -3
View File
@@ -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);
}