diff options
author | Brian Paul <[email protected]> | 2001-02-13 23:51:34 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-02-13 23:51:34 +0000 |
commit | dc866313affb0b4f2073f1234f69a4804f02c7a7 (patch) | |
tree | 009c976f3e55d66661badb9cc57c2c8d75c5152c /src/mesa/main | |
parent | 8f28f4850bbf4f32e84f25ee1a8d72b16b8a41d1 (diff) |
gl_error clean-ups
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/enable.c | 4 | ||||
-rw-r--r-- | src/mesa/main/matrix.c | 4 |
2 files changed, 4 insertions, 4 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) diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c index 241898c20af..1239f6e2e84 100644 --- a/src/mesa/main/matrix.c +++ b/src/mesa/main/matrix.c @@ -1,4 +1,4 @@ -/* $Id: matrix.c,v 1.31 2001/02/05 18:48:52 brianp Exp $ */ +/* $Id: matrix.c,v 1.32 2001/02/13 23:51:34 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -123,7 +123,7 @@ _mesa_Ortho( GLdouble left, GLdouble right, bottom == top || nearval == farval) { - gl_error( ctx, GL_INVALID_VALUE, "gl_Ortho" ); + gl_error( ctx, GL_INVALID_VALUE, "glOrtho" ); return; } |