aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/genmipmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/genmipmap.c')
-rw-r--r--mesalib/src/mesa/main/genmipmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/genmipmap.c b/mesalib/src/mesa/main/genmipmap.c
index dcd482da2..9d111cab2 100644
--- a/mesalib/src/mesa/main/genmipmap.c
+++ b/mesalib/src/mesa/main/genmipmap.c
@@ -74,6 +74,10 @@ _mesa_GenerateMipmap(GLenum target)
error = (_mesa_is_gles(ctx) && ctx->Version < 30)
|| !ctx->Extensions.EXT_texture_array;
break;
+ case GL_TEXTURE_CUBE_MAP_ARRAY:
+ error = _mesa_is_gles(ctx) ||
+ !ctx->Extensions.ARB_texture_cube_map_array;
+ break;
default:
error = GL_TRUE;
}