diff options
author | Eric Anholt <[email protected]> | 2012-11-13 12:45:19 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-11-17 12:55:54 -0800 |
commit | 02652eaa25f1114b16762cac7a49f210a8c41c19 (patch) | |
tree | 7145ec1b7b9cd31ae9985d212772fff63606eb34 /src/mesa/main/teximage.c | |
parent | a43b107403ab5f812d68172f799e8cb490e97b95 (diff) |
mesa: Also handle GL_TEXTURE_EXTENRAL_OES in max num levels.
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-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 0850ef1110c..7d5a574e46b 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1056,6 +1056,7 @@ _mesa_get_tex_max_num_levels(GLenum target, GLsizei width, GLsizei height, size = MAX3(width, height, depth); break; case GL_TEXTURE_RECTANGLE: + case GL_TEXTURE_EXTERNAL_OES: return 1; default: assert(0); |