projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87fdcd8
)
Add missing GL_TEXTURE_CUBE_MAP entry in _mesa_legal_texture_dimensions
author
Alan Hourihane
<alanh@vmware.com>
Tue, 5 Mar 2013 12:05:26 +0000
(12:05 +0000)
committer
Alan Hourihane
<alanh@vmware.com>
Tue, 5 Mar 2013 17:22:44 +0000
(17:22 +0000)
This was hit on the glTexStorage2D() path.
Note: this is a candidate for the stable branches
Signed-off-by: Alan Hourihane <alanh@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 0dcf88ae424e3bc07c886ee16142d69d1921ea2d..9d4a17052d593bb90f8d6430e794a7f8e304f162 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1416,6
+1416,7
@@
_mesa_legal_texture_dimensions(struct gl_context *ctx, GLenum target,
return GL_FALSE;
return GL_TRUE;
+ case GL_TEXTURE_CUBE_MAP:
case GL_TEXTURE_CUBE_MAP_POSITIVE_X:
case GL_TEXTURE_CUBE_MAP_NEGATIVE_X:
case GL_TEXTURE_CUBE_MAP_POSITIVE_Y: