aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/texparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/texparam.c')
-rw-r--r--mesalib/src/mesa/main/texparam.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/texparam.c b/mesalib/src/mesa/main/texparam.c
index f73e2b5f0..8ce054618 100644
--- a/mesalib/src/mesa/main/texparam.c
+++ b/mesalib/src/mesa/main/texparam.c
@@ -170,6 +170,11 @@ get_texobj(struct gl_context *ctx, GLenum target, GLboolean get)
return texUnit->CurrentTex[TEXTURE_EXTERNAL_INDEX];
}
break;
+ case GL_TEXTURE_CUBE_MAP_ARRAY:
+ if (ctx->Extensions.ARB_texture_cube_map_array) {
+ return texUnit->CurrentTex[TEXTURE_CUBE_ARRAY_INDEX];
+ }
+ break;
default:
;
}