aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2006-06-19 16:39:49 +0000
committerIan Romanick <[email protected]>2006-06-19 16:39:49 +0000
commit4afcd8aa8b694264a37b1f796346916d99d87a1e (patch)
tree97c9f83fd838961b05ccbc2e9c0d889a3e06da50 /src/mesa/main
parent161de10ce885e73ca07a0c851d63bf1a732c1ea8 (diff)
Print the hex value of the errant input when an invalid stencil function is
specified.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/stencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/stencil.c b/src/mesa/main/stencil.c
index 6b4d7e81eb8..9992ec9b6eb 100644
--- 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;
}