projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f103f7e
)
mesa: more info in glActiveTexture error msg
author
Brian Paul
<brianp@vmware.com>
Thu, 28 Jan 2010 00:00:15 +0000
(17:00 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 28 Jan 2010 00:04:30 +0000
(17:04 -0700)
src/mesa/main/texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstate.c
b/src/mesa/main/texstate.c
index 25333d8994a4500c33f705437103d67f75c5ea8b..2b26f651a54ce15fdb18f5af3b15d3b059b36021 100644
(file)
--- a/
src/mesa/main/texstate.c
+++ b/
src/mesa/main/texstate.c
@@
-291,7
+291,8
@@
_mesa_ActiveTextureARB(GLenum texture)
_mesa_lookup_enum_by_nr(texture));
if (texUnit >= ctx->Const.MaxTextureImageUnits) {
- _mesa_error(ctx, GL_INVALID_ENUM, "glActiveTexture(texture)");
+ _mesa_error(ctx, GL_INVALID_ENUM, "glActiveTexture(texture=%s)",
+ _mesa_lookup_enum_by_nr(texture));
return;
}