summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-12-18 15:01:26 +0000
committerBrian Paul <[email protected]>2002-12-18 15:01:26 +0000
commit866023da660d25c60ef4646a8273dd42fb23d27d (patch)
tree392d66784bc1cc3742c0d4dd18454bc67ed66e69 /src/mesa/main/texstate.c
parent7c0e32bbf0e17718875574da69c89c530e1ed123 (diff)
improved error message
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r--src/mesa/main/texstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index 41c41c21e40..91e7ad96420 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -1,4 +1,4 @@
-/* $Id: texstate.c,v 1.88 2002/12/05 04:51:57 brianp Exp $ */
+/* $Id: texstate.c,v 1.89 2002/12/18 15:01:26 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1308,7 +1308,7 @@ _mesa_TexParameterfv( GLenum target, GLenum pname, const GLfloat *params )
}
else {
_mesa_error(ctx, GL_INVALID_ENUM,
- "glTexParameter(bad GL_TEXTURE_COMPARE_MODE_ARB)");
+ "glTexParameter(bad GL_TEXTURE_COMPARE_MODE_ARB: 0x%x)", mode);
return;
}
}