mesa/extensions: restrict GL_OES_EGL_image to GLES
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 10 Sep 2015 17:48:46 +0000 (10:48 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Tue, 15 Sep 2015 17:00:00 +0000 (10:00 -0700)
Driver vendors do this as well. The extension specification
lists GLES 1.1 or 2.0 as requirements.

Reviewed-by: Chad Versace <chad.versace@intel.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/main/extensions.c

index b2c88c37366fa4a35a626d3b128357fe63a721fa..767c50e28c084caf14a4810622c91d606a3ea67e 100644 (file)
@@ -307,8 +307,7 @@ static const struct extension extension_table[] = {
    { "GL_OES_depth_texture_cube_map",              o(OES_depth_texture_cube_map),                         ES2, 2012 },
    { "GL_OES_draw_texture",                        o(OES_draw_texture),                             ES1,       2004 },
    { "GL_OES_EGL_sync",                            o(dummy_true),                                   ES1 | ES2, 2010 },
-   /*  FIXME: Mesa expects GL_OES_EGL_image to be available in OpenGL contexts. */
-   { "GL_OES_EGL_image",                           o(OES_EGL_image),                           GL | ES1 | ES2, 2006 },
+   { "GL_OES_EGL_image",                           o(OES_EGL_image),                                ES1 | ES2, 2006 },
    { "GL_OES_EGL_image_external",                  o(OES_EGL_image_external),                       ES1 | ES2, 2010 },
    { "GL_OES_element_index_uint",                  o(dummy_true),                                   ES1 | ES2, 2005 },
    { "GL_OES_fbo_render_mipmap",                   o(dummy_true),                                   ES1 | ES2, 2005 },