diff options
Diffstat (limited to 'src/mesa/main/polygon.c')
-rw-r--r-- | src/mesa/main/polygon.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c index a0d103f9040..396c897b70e 100644 --- a/src/mesa/main/polygon.c +++ b/src/mesa/main/polygon.c @@ -1,4 +1,4 @@ -/* $Id: polygon.c,v 1.18 2001/01/23 23:39:36 brianp Exp $ */ +/* $Id: polygon.c,v 1.19 2001/03/03 20:33:27 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -47,10 +47,10 @@ _mesa_CullFace( GLenum mode ) ASSERT_OUTSIDE_BEGIN_END(ctx); if (MESA_VERBOSE&VERBOSE_API) - fprintf(stderr, "glCullFace %s\n", gl_lookup_enum_by_nr(mode)); + fprintf(stderr, "glCullFace %s\n", _mesa_lookup_enum_by_nr(mode)); if (mode!=GL_FRONT && mode!=GL_BACK && mode!=GL_FRONT_AND_BACK) { - gl_error( ctx, GL_INVALID_ENUM, "glCullFace" ); + _mesa_error( ctx, GL_INVALID_ENUM, "glCullFace" ); return; } @@ -73,10 +73,10 @@ _mesa_FrontFace( GLenum mode ) ASSERT_OUTSIDE_BEGIN_END(ctx); if (MESA_VERBOSE&VERBOSE_API) - fprintf(stderr, "glFrontFace %s\n", gl_lookup_enum_by_nr(mode)); + fprintf(stderr, "glFrontFace %s\n", _mesa_lookup_enum_by_nr(mode)); if (mode!=GL_CW && mode!=GL_CCW) { - gl_error( ctx, GL_INVALID_ENUM, "glFrontFace" ); + _mesa_error( ctx, GL_INVALID_ENUM, "glFrontFace" ); return; } @@ -102,11 +102,11 @@ _mesa_PolygonMode( GLenum face, GLenum mode ) if (MESA_VERBOSE&VERBOSE_API) fprintf(stderr, "glPolygonMode %s %s\n", - gl_lookup_enum_by_nr(face), - gl_lookup_enum_by_nr(mode)); + _mesa_lookup_enum_by_nr(face), + _mesa_lookup_enum_by_nr(mode)); if (mode!=GL_POINT && mode!=GL_LINE && mode!=GL_FILL) { - gl_error( ctx, GL_INVALID_ENUM, "glPolygonMode(mode)" ); + _mesa_error( ctx, GL_INVALID_ENUM, "glPolygonMode(mode)" ); return; } @@ -132,7 +132,7 @@ _mesa_PolygonMode( GLenum face, GLenum mode ) ctx->Polygon.BackMode = mode; break; default: - gl_error( ctx, GL_INVALID_ENUM, "glPolygonMode(face)" ); + _mesa_error( ctx, GL_INVALID_ENUM, "glPolygonMode(face)" ); return; } |