From ed2c4ec04f2efcfba49262cac4fe5393ebf9df23 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 20 Dec 2014 00:41:03 +0100 Subject: [PATCH] Add HAVE_FBO ifdef --- gfx/gl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/gl.c b/gfx/gl.c index e3dab6983c..707149556b 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1887,8 +1887,10 @@ static bool resolve_extensions(gl_t *gl) #endif #endif +#ifdef HAVE_FBO if (g_settings.video.force_srgb_disable) gl->has_srgb_fbo = false; +#endif #ifdef GL_DEBUG /* Useful for debugging, but kinda obnoxious otherwise. */