diff options
author | Ian Romanick <[email protected]> | 2006-06-19 16:39:49 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2006-06-19 16:39:49 +0000 |
commit | 4afcd8aa8b694264a37b1f796346916d99d87a1e (patch) | |
tree | 97c9f83fd838961b05ccbc2e9c0d889a3e06da50 | |
parent | 161de10ce885e73ca07a0c851d63bf1a732c1ea8 (diff) |
Print the hex value of the errant input when an invalid stencil function is
specified.
-rw-r--r-- | src/mesa/main/stencil.c | 2 |
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; } |