summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_texture.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-10-23 00:53:21 +0800
committerChia-I Wu <[email protected]>2011-11-03 15:09:45 +0800
commit8cd0873d319cefce74164147c9855e81f051d1e1 (patch)
tree9759773b05055b7c37b106853a922346c011815e /src/mesa/state_tracker/st_texture.c
parent0c87f16817ff0bf1f05e0d634944fd47b097faee (diff)
st/mesa: add support for GL_OES_EGL_image_external
To pipe drivers, external textures are just 2D textures. Reviewed-by: Brian Paul <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_texture.c')
-rw-r--r--src/mesa/state_tracker/st_texture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c
index ca8106b5241..3323bbbbe4c 100644
--- a/src/mesa/state_tracker/st_texture.c
+++ b/src/mesa/state_tracker/st_texture.c
@@ -133,6 +133,7 @@ st_gl_texture_dims_to_pipe_dims(GLenum texture,
break;
case GL_TEXTURE_2D:
case GL_TEXTURE_RECTANGLE:
+ case GL_TEXTURE_EXTERNAL_OES:
assert(depthIn == 1);
*widthOut = widthIn;
*heightOut = heightIn;