From db73264e1471a594d49ca0bc397cbb6746ee1dce Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sun, 23 Oct 2011 18:51:13 +0800 Subject: [PATCH] mesa: add GL_OES_EGL_image_external to the extension list Reviewed-by: Brian Paul Acked-by: Jakob Bornecrantz --- src/mesa/main/extensions.c | 1 + src/mesa/main/mtypes.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 7a9fce8ff6b..d5a8914358a 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -229,6 +229,7 @@ static const struct extension extension_table[] = { #if FEATURE_OES_EGL_image /* 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_external", o(OES_EGL_image_external), ES1 | ES2, 2010 }, #endif { "GL_OES_element_index_uint", o(dummy_true), ES1 | ES2, 2005 }, { "GL_OES_fbo_render_mipmap", o(EXT_framebuffer_object), ES1 | ES2, 2005 }, diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 3f3bc4e999b..9a0f3cfb90f 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2920,6 +2920,7 @@ struct gl_extensions GLboolean S3_s3tc; GLboolean OES_EGL_image; GLboolean OES_draw_texture; + GLboolean OES_EGL_image_external; GLboolean extension_sentinel; /** The extension string */ const GLubyte *String; -- 2.30.2