summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-02-12 17:21:24 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-02-12 17:21:24 +0000
commit08a935593241b2c1152068d2508638f271e0b17d (patch)
tree98c257a92dd1598161dfa5ad27c8f61b9d5d9b67
parente9bd590781dc049b66d6d6a4c2337478bc8907ec (diff)
better error messages
-rw-r--r--src/mesa/main/enable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 754d8e30a7..9f55278772 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -1,4 +1,4 @@
-/* $Id: enable.c,v 1.21.4.3 2000/11/26 21:10:26 brianp Exp $*/
+/* $Id: enable.c,v 1.21.4.4 2001/02/12 17:21:24 brianp Exp $*/
/*
* Mesa 3-D graphics library
@@ -49,7 +49,7 @@
*/
void _mesa_set_enable( GLcontext *ctx, GLenum cap, GLboolean state )
{
- ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH( ctx, "gl_enable/disable" );
+ ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH( ctx, state ? "glEnable" : "glDisable" );
if (MESA_VERBOSE & VERBOSE_API)
fprintf(stderr, "%s %s (newstate is %x)\n",