From dc866313affb0b4f2073f1234f69a4804f02c7a7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 13 Feb 2001 23:51:34 +0000 Subject: gl_error clean-ups --- src/mesa/main/enable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/enable.c') 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) -- cgit v1.2.3