Module: Mesa
Branch: master
Commit: 8bd134f31b07376a035951ec6c026bbff88a2b05
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bd134f31b07376a035951ec6c026bbff88a2b05

Author: Marek Olšák <[email protected]>
Date:   Thu Dec 20 03:57:39 2012 +0100

mesa: allow TEXTURE_CUBE_MAP_ARRAY in GetTexImage

Reviewed-by: Brian Paul <[email protected]>

---

 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 69067df..d435c82 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;
    }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to