summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mipmap.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2011-10-23 18:52:38 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-11-03 15:09:45 +0800
commit0c87f16817ff0bf1f05e0d634944fd47b097faee (patch)
tree35549c03e8f4c41b90a31abf50b068271deff4a2 /src/mesa/main/mipmap.c
parent79463f18ac91b2b0f1ed6dcdb26f84b942543d80 (diff)
downloadexternal_mesa3d-0c87f16817ff0bf1f05e0d634944fd47b097faee.zip
external_mesa3d-0c87f16817ff0bf1f05e0d634944fd47b097faee.tar.gz
external_mesa3d-0c87f16817ff0bf1f05e0d634944fd47b097faee.tar.bz2
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 <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'src/mesa/main/mipmap.c')
-rw-r--r--src/mesa/main/mipmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c
index 46d71bb..461de9d 100644
--- a/src/mesa/main/mipmap.c
+++ b/src/mesa/main/mipmap.c
@@ -1751,6 +1751,7 @@ _mesa_generate_mipmap_level(GLenum target,
}
break;
case GL_TEXTURE_RECTANGLE_NV:
+ case GL_TEXTURE_EXTERNAL_OES:
/* no mipmaps, do nothing */
break;
default: