mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
mesa: allow generating mipmaps for cube arrays
Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
55cf320ed8
commit
185ad78ffd
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue