summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-02-13 23:51:34 +0000
committerBrian Paul <[email protected]>2001-02-13 23:51:34 +0000
commitdc866313affb0b4f2073f1234f69a4804f02c7a7 (patch)
tree009c976f3e55d66661badb9cc57c2c8d75c5152c /src/mesa/main/enable.c
parent8f28f4850bbf4f32e84f25ee1a8d72b16b8a41d1 (diff)
gl_error clean-ups
Diffstat (limited to 'src/mesa/main/enable.c')
-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 dad03c356aa..37ada84a7df 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -1,4 +1,4 @@
-/* $Id: enable.c,v 1.40 2001/01/23 23:39:36 brianp Exp $ */
+/* $Id: enable.c,v 1.41 2001/02/13 23:51:34 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -239,7 +239,7 @@ void _mesa_set_enable( GLcontext *ctx, GLenum cap, GLboolean state )
break;
case GL_HISTOGRAM:
if (!ctx->Extensions.EXT_histogram) {
- gl_error(ctx, GL_INVALID_ENUM, "enable GL_HISTOGRAM");
+ gl_error(ctx, GL_INVALID_ENUM, "glEnable(GL_HISTOGRAM)");
return;
}
if (ctx->Pixel.HistogramEnabled == state)