Add HAVE_FBO ifdef

This commit is contained in:
twinaphex 2014-12-20 00:41:03 +01:00
parent 0c1c05cda8
commit ed2c4ec04f

View File

@ -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. */