mesa: Disable GL_EXT_framebuffer_object in core profiles and OpenGL 3.1
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 18 Jul 2013 23:48:49 +0000 (16:48 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 27 Jul 2013 05:56:26 +0000 (22:56 -0700)
GL_EXT_framebuffer_object differs from GL_ARB_framebuffer_object in ways
that we can't and don't implement in core profiles.  Exposing it is a
lie, so we shouldn't do that.

It's possible the some other GL_EXT_framebuffer_* extensions should be
disabled, but it's not quite so clear cut.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/extensions.c

index e0428c683268c2181b29efdd27ba66074dda5073..4e46cf095527d8985c09fba445e724ff5f3389d4 100644 (file)
@@ -184,7 +184,7 @@ static const struct extension extension_table[] = {
    { "GL_EXT_framebuffer_blit",                    o(EXT_framebuffer_blit),                    GL,             2005 },
    { "GL_EXT_framebuffer_multisample",             o(EXT_framebuffer_multisample),             GL,             2005 },
    { "GL_EXT_framebuffer_multisample_blit_scaled", o(EXT_framebuffer_multisample_blit_scaled), GL,             2011 },
-   { "GL_EXT_framebuffer_object",                  o(dummy_true),                              GL            2000 },
+   { "GL_EXT_framebuffer_object",                  o(dummy_true),                              GLL,            2000 },
    { "GL_EXT_framebuffer_sRGB",                    o(EXT_framebuffer_sRGB),                    GL,             1998 },
    { "GL_EXT_gpu_program_parameters",              o(EXT_gpu_program_parameters),              GLL,            2006 },
    { "GL_EXT_gpu_shader4",                         o(EXT_gpu_shader4),                         GL,             2006 },