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/api_noop.c | |
parent | 19bbfc62638b60dd1a41e84686f24483adea5b03 (diff) |
lots of gl_*() to _mesa_*() namespace clean-up
Diffstat (limited to 'src/mesa/main/api_noop.c')
-rw-r--r-- | src/mesa/main/api_noop.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/main/api_noop.c b/src/mesa/main/api_noop.c index 8ee5b9fc6d2..38fac3cfa13 100644 --- a/src/mesa/main/api_noop.c +++ b/src/mesa/main/api_noop.c @@ -1,4 +1,4 @@ -/* $Id: api_noop.c,v 1.4 2001/01/24 00:04:58 brianp Exp $ */ +/* $Id: api_noop.c,v 1.5 2001/03/03 20:33:27 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -102,12 +102,12 @@ void _mesa_noop_Normal3fv( const GLfloat *v ) COPY_FLOAT(dest[2], v[2]); } -void _mesa_noop_Materialfv( GLenum face, GLenum pname, const GLfloat *params ) +void _mesa_noop_Materialfv( GLenum face, GLenum pname, const GLfloat *params ) { GET_CURRENT_CONTEXT(ctx); struct gl_material mat[2]; - GLuint bitmask = gl_material_bitmask( ctx, face, pname, ~0, - "_mesa_noop_Materialfv" ); + GLuint bitmask = _mesa_material_bitmask( ctx, face, pname, ~0, + "_mesa_noop_Materialfv" ); if (bitmask == 0) return; @@ -154,7 +154,7 @@ void _mesa_noop_Materialfv( GLenum face, GLenum pname, const GLfloat *params ) mat[1].SpecularIndex = params[2]; } - gl_update_material( ctx, mat, bitmask ); + _mesa_update_material( ctx, mat, bitmask ); } void _mesa_noop_Color4ub( GLubyte a, GLubyte b, GLubyte c, GLubyte d ) @@ -565,7 +565,7 @@ void _mesa_noop_DrawElements(GLenum mode, GLsizei count, GLenum type, glArrayElement( ((GLuint *)indices)[i] ); break; default: - gl_error( ctx, GL_INVALID_ENUM, "glDrawElements(type)" ); + _mesa_error( ctx, GL_INVALID_ENUM, "glDrawElements(type)" ); break; } |