projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a43b107
)
mesa: Also handle GL_TEXTURE_EXTENRAL_OES in max num levels.
author
Eric Anholt
<eric@anholt.net>
Tue, 13 Nov 2012 20:45:19 +0000
(12:45 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 17 Nov 2012 20:55:54 +0000
(12:55 -0800)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 0850ef1110c71986fb5000a04635dd3859ce3e62..7d5a574e46b2527a7749580077d25781c6a51ebd 100644
(file)
--- 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);