[Mesa-dev] [PATCH 01/14] mesa: allow TEXTURE_CUBE_MAP_ARRAY in GetTexImage

Marek Olšák maraeo at gmail.com
Thu Dec 20 09:56:39 PST 2012


---
 src/mesa/main/texgetimage.c |    2 ++
 1 file changed, 2 insertions(+)

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;
    }
-- 
1.7.10.4



More information about the mesa-dev mailing list