From 317f5f8d48eefc201f456e53d83248200f7c70da 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 a509857f6..3a4505c15 100644 --- a/src/sdl/ogl_sdl.c +++ b/src/sdl/ogl_sdl.c @@ -240,7 +240,9 @@ void OglSdlFinishUpdate(boolean waitvbl) static boolean oldwaitvbl = false; int sdlw, sdlh; +#ifdef USE_FBO_OGL const boolean usefbo = UseScreenFBO(); +#endif if (oldwaitvbl != waitvbl) {