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) {