Mesa (master): mesa: Also handle GL_TEXTURE_EXTENRAL_OES in max num levels.
Eric Anholt
anholt at kemper.freedesktop.org
Sat Nov 17 21:05:11 UTC 2012
Module: Mesa
Branch: master
Commit: 02652eaa25f1114b16762cac7a49f210a8c41c19
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02652eaa25f1114b16762cac7a49f210a8c41c19
Author: Eric Anholt <eric at anholt.net>
Date: Tue Nov 13 12:45:19 2012 -0800
mesa: Also handle GL_TEXTURE_EXTENRAL_OES in max num levels.
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
---
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 0850ef1..7d5a574 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);
More information about the mesa-commit
mailing list