From 0c87f16817ff0bf1f05e0d634944fd47b097faee Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sun, 23 Oct 2011 18:52:38 +0800 Subject: mesa: add support for GL_OES_EGL_image_external This is an OpenGL ES specific extension. External textures are textures that may be sampled from, but not be updated (no glTexSubImage* and etc.). The image data are taken from an EGLImage. Reviewed-by: Brian Paul Acked-by: Jakob Bornecrantz --- src/mesa/main/uniforms.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main/uniforms.c') diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c index ccaedf9f1d6..68e44b27244 100644 --- a/src/mesa/main/uniforms.c +++ b/src/mesa/main/uniforms.c @@ -148,6 +148,7 @@ is_sampler_type(GLenum type) case GL_SAMPLER_2D_MULTISAMPLE_ARRAY: case GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY: case GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY: + case GL_SAMPLER_EXTERNAL_OES: return GL_TRUE; default: return GL_FALSE; -- cgit v1.2.3