fix wipes on native res gl

This commit is contained in:
alufolie91 committed 2026-11-22 15:16:03 +00:00
1 parent 1371cfb247
commit 153eae26bb
1 file changed
+2 -2
+2 -2
View File
@@ -262,9 +262,9 @@ void OglSdlFinishUpdate(SDL_Window *window)
// 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
#ifdef USE_FBO_OGL
if (!usefbo && (realwidth != sdlw || realheight != sdlh)) // not needed if fbo is in use
if (!usefbo && (realwidth != sdlw || realheight != sdlh || WipeInAction)) // not needed if fbo is in use
#else
if (realwidth != sdlw || realheight != sdlh) // this is not needed if the render size matches window size
if (realwidth != sdlw || realheight != sdlh || WipeInAction) // this is not needed if the render size matches window size
#endif
HWR_DrawScreenFinalTexture(realwidth, realheight);
}