projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497bde6
)
mesa: report enum name in glClientActiveTexture() error string
author
Brian Paul
<brianp@vmware.com>
Fri, 6 Nov 2015 02:03:39 +0000
(19:03 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 6 Nov 2015 03:12:33 +0000
(20:12 -0700)
As we do for glActiveTexture(). Trivial.
src/mesa/main/texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstate.c
b/src/mesa/main/texstate.c
index cb147fac476602d4a91d5e19ae24e76c278b27d6..9d88554d94580efaa046c187edf8628d2134c393 100644
(file)
--- a/
src/mesa/main/texstate.c
+++ b/
src/mesa/main/texstate.c
@@
-330,7
+330,8
@@
_mesa_ClientActiveTexture(GLenum texture)
return;
if (texUnit >= ctx->Const.MaxTextureCoordUnits) {
- _mesa_error(ctx, GL_INVALID_ENUM, "glClientActiveTexture(texture)");
+ _mesa_error(ctx, GL_INVALID_ENUM, "glClientActiveTexture(texture=%s)",
+ _mesa_enum_to_string(texture));
return;
}