diff options
author | Marek Olšák <[email protected]> | 2012-12-20 03:57:39 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-01-04 14:05:21 +0100 |
commit | 8bd134f31b07376a035951ec6c026bbff88a2b05 (patch) | |
tree | 0fa2099997b494c74d03212d966a6f7b8ed01308 /src/mesa/main/texgetimage.c | |
parent | 12aeb47b6af4b3100da26b3ab72ef93886479219 (diff) |
mesa: allow TEXTURE_CUBE_MAP_ARRAY in GetTexImage
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texgetimage.c')
-rw-r--r-- | src/mesa/main/texgetimage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index 69067df9f5d..d435c82698f 100644 --- a/src/mesa/main/texgetimage.c +++ b/src/mesa/main/texgetimage.c @@ -683,6 +683,8 @@ legal_getteximage_target(struct gl_context *ctx, GLenum target) case GL_TEXTURE_2D_ARRAY_EXT: return (ctx->Extensions.MESA_texture_array || ctx->Extensions.EXT_texture_array); + case GL_TEXTURE_CUBE_MAP_ARRAY: + return ctx->Extensions.ARB_texture_cube_map_array; default: return GL_FALSE; } |