projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12aeb47
)
mesa: allow TEXTURE_CUBE_MAP_ARRAY in GetTexImage
author
Marek Olšák
<maraeo@gmail.com>
Thu, 20 Dec 2012 02:57:39 +0000
(
03:57
+0100)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 4 Jan 2013 13:05:21 +0000
(14:05 +0100)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texgetimage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texgetimage.c
b/src/mesa/main/texgetimage.c
index 69067df9f5dde6b0422395cd772eb07a76fe15b5..d435c82698fc896f7664e1e330f72f627b4afa17 100644
(file)
--- 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;
}