diff options
author | Brian Paul <[email protected]> | 2001-03-03 20:33:27 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-03-03 20:33:27 +0000 |
commit | 08836341788a9f9d638d9dc8328510ccd18ddeb5 (patch) | |
tree | 6bd480b7f5f595c63914b1d39727d70a0f954723 /src/mesa/main/fog.c | |
parent | 19bbfc62638b60dd1a41e84686f24483adea5b03 (diff) |
lots of gl_*() to _mesa_*() namespace clean-up
Diffstat (limited to 'src/mesa/main/fog.c')
-rw-r--r-- | src/mesa/main/fog.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/fog.c b/src/mesa/main/fog.c index c0e4b4a907c..0c1214e9a3b 100644 --- a/src/mesa/main/fog.c +++ b/src/mesa/main/fog.c @@ -1,4 +1,4 @@ -/* $Id: fog.c,v 1.32 2001/01/05 02:26:48 keithw Exp $ */ +/* $Id: fog.c,v 1.33 2001/03/03 20:33:27 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -95,7 +95,7 @@ _mesa_Fogfv( GLenum pname, const GLfloat *params ) case GL_EXP2: break; default: - gl_error( ctx, GL_INVALID_ENUM, "glFog" ); + _mesa_error( ctx, GL_INVALID_ENUM, "glFog" ); return; } if (ctx->Fog.Mode == m) @@ -105,7 +105,7 @@ _mesa_Fogfv( GLenum pname, const GLfloat *params ) break; case GL_FOG_DENSITY: if (*params<0.0) { - gl_error( ctx, GL_INVALID_VALUE, "glFog" ); + _mesa_error( ctx, GL_INVALID_VALUE, "glFog" ); return; } if (ctx->Fog.Density == *params) @@ -143,7 +143,7 @@ _mesa_Fogfv( GLenum pname, const GLfloat *params ) case GL_FOG_COORDINATE_SOURCE_EXT: { GLenum p = (GLenum)(GLint) *params; if (p != GL_FOG_COORDINATE_EXT && p != GL_FRAGMENT_DEPTH_EXT) { - gl_error( ctx, GL_INVALID_ENUM, "glFog" ); + _mesa_error( ctx, GL_INVALID_ENUM, "glFog" ); return; } if (ctx->Fog.FogCoordinateSource == p) @@ -153,7 +153,7 @@ _mesa_Fogfv( GLenum pname, const GLfloat *params ) break; } default: - gl_error( ctx, GL_INVALID_ENUM, "glFog" ); + _mesa_error( ctx, GL_INVALID_ENUM, "glFog" ); return; } |