From 084e364a8a0f75c8328ae8dfc4aa5966858b00f6 Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 20 Dec 2024 03:07:31 +0100 Subject: [PATCH] fix fbo shader lel --- src/sdl/ogl_sdl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl/ogl_sdl.c b/src/sdl/ogl_sdl.c index 59c94672b..652ab1d74 100644 --- a/src/sdl/ogl_sdl.c +++ b/src/sdl/ogl_sdl.c @@ -281,6 +281,8 @@ void OglSdlFinishUpdate(boolean waitvbl) GL_Framebuffer_Unbind(); fbo_shader = (HWR_UseShader() && !WipeInAction); // this looks awful with wipes } + else + fbo_shader = false; #endif GL_DrawScreenFinalTexture(HWD_SCREENTEXTURE_GENERIC2, sdlw, sdlh, (HWR_ShouldUsePaletteRendering() || fbo_shader));