From 153eae26bb0922db1029bc26b269dfb3dfa48a7c Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 22 Nov 2026 15:16:03 +0000 Subject: [PATCH] fix wipes on native res gl --- src/sdl/ogl_sdl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sdl/ogl_sdl.c b/src/sdl/ogl_sdl.c index 144c50f8d..31886d423 100644 --- a/src/sdl/ogl_sdl.c +++ b/src/sdl/ogl_sdl.c @@ -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); }