mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
mesa: allow TEXTURE_CUBE_MAP_ARRAY in GetTexImage
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
12aeb47b6a
commit
8bd134f31b
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue