projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
161de10
)
Print the hex value of the errant input when an invalid stencil function is
author
Ian Romanick
<idr@us.ibm.com>
Mon, 19 Jun 2006 16:39:49 +0000
(16:39 +0000)
committer
Ian Romanick
<idr@us.ibm.com>
Mon, 19 Jun 2006 16:39:49 +0000
(16:39 +0000)
specified.
src/mesa/main/stencil.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/stencil.c
b/src/mesa/main/stencil.c
index 6b4d7e81eb8b8e25f642c40eb8e8608df98c922a..9992ec9b6eb849bd0736dab16ef910a402a0cde2 100644
(file)
--- a/
src/mesa/main/stencil.c
+++ b/
src/mesa/main/stencil.c
@@
-109,7
+109,7
@@
_mesa_StencilFunc( GLenum func, GLint ref, GLuint mask )
case GL_ALWAYS:
break;
default:
- _mesa_error( ctx, GL_INVALID_ENUM, "glStencilFunc
"
);
+ _mesa_error( ctx, GL_INVALID_ENUM, "glStencilFunc
(0x%04x)", func
);
return;
}