summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-09-03 18:05:17 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-09-03 18:05:17 +0000
commitb9f75444e60477e7a523e7eec1bb49a8232fd4e7 (patch)
tree04d0d23cbc17d7da0b75a900013be3b1bdb69704 /src/mesa/tnl
parentba88dd0d92e818df20752ca5a4b1cd5fb0c49f76 (diff)
improved error string
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_imm_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_imm_api.c b/src/mesa/tnl/t_imm_api.c
index 7631e0cbb8..f5a977b600 100644
--- a/src/mesa/tnl/t_imm_api.c
+++ b/src/mesa/tnl/t_imm_api.c
@@ -1,4 +1,4 @@
-/* $Id: t_imm_api.c,v 1.30 2002/06/16 01:09:16 brianp Exp $ */
+/* $Id: t_imm_api.c,v 1.31 2002/09/03 18:05:52 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -182,7 +182,7 @@ _tnl_Begin( GLenum mode )
ASSERT (!ctx->CompileFlag);
if (mode > GL_POLYGON) {
- _mesa_error( ctx, GL_INVALID_ENUM, "_tnl_Begin" );
+ _mesa_error( ctx, GL_INVALID_ENUM, "_tnl_Begin(0x%x)", mode );
return;
}