diff options
author | Alan Hourihane <[email protected]> | 2013-03-05 12:05:26 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2013-03-05 17:22:44 +0000 |
commit | 196443f3f5b43d26895043701ea0cdabfaa78210 (patch) | |
tree | b1c7cbea3ab0009366f81dcc039ede9f26c03263 /src/mesa | |
parent | 87fdcd87b163176dc7336a88c81f4b2d8f160231 (diff) |
Add missing GL_TEXTURE_CUBE_MAP entry in _mesa_legal_texture_dimensions
This was hit on the glTexStorage2D() path.
Note: this is a candidate for the stable branches
Signed-off-by: Alan Hourihane <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/teximage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 0dcf88ae424..9d4a17052d5 100644 --- 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: |