From 94792fe571e581f078500b61d2414845d88c18b6 Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 20 Dec 2024 17:19:12 +0100 Subject: [PATCH] fix no fbo compile --- 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 0666ebcf8..627945bc7 100644 --- a/src/sdl/ogl_sdl.c +++ b/src/sdl/ogl_sdl.c @@ -242,7 +242,9 @@ void OglSdlFinishUpdate(boolean waitvbl) static boolean oldwaitvbl = false; int sdlw, sdlh; +#ifdef USE_FBO_OGL const boolean usefbo = UseScreenFBO(); +#endif if (oldwaitvbl != waitvbl) {