projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55cf320
)
mesa: allow generating mipmaps for cube arrays
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 11 Mar 2014 14:04:00 +0000
(15:04 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 20 Mar 2014 23:50:53 +0000
(
00:50
+0100)
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/genmipmap.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/genmipmap.c
b/src/mesa/main/genmipmap.c
index dcd482da2017e0d3a65aa09379ddf7916e9a7a57..9d111cab20ad223f6c904c655a4ebba852ae1bd1 100644
(file)
--- a/
src/mesa/main/genmipmap.c
+++ b/
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;
}