summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-03-03 20:33:27 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-03-03 20:33:27 +0000
commit08836341788a9f9d638d9dc8328510ccd18ddeb5 (patch)
tree6bd480b7f5f595c63914b1d39727d70a0f954723 /src/mesa/main/attrib.c
parent19bbfc62638b60dd1a41e84686f24483adea5b03 (diff)
downloadexternal_mesa3d-08836341788a9f9d638d9dc8328510ccd18ddeb5.zip
external_mesa3d-08836341788a9f9d638d9dc8328510ccd18ddeb5.tar.gz
external_mesa3d-08836341788a9f9d638d9dc8328510ccd18ddeb5.tar.bz2
lots of gl_*() to _mesa_*() namespace clean-up
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 746ca73..00394a7 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1,4 +1,4 @@
-/* $Id: attrib.c,v 1.44 2001/02/20 16:42:25 brianp Exp $ */
+/* $Id: attrib.c,v 1.45 2001/03/03 20:33:27 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -125,7 +125,7 @@ _mesa_PushAttrib(GLbitfield mask)
fprintf(stderr, "glPushAttrib %x\n", (int)mask);
if (ctx->AttribStackDepth >= MAX_ATTRIB_STACK_DEPTH) {
- gl_error( ctx, GL_STACK_OVERFLOW, "glPushAttrib" );
+ _mesa_error( ctx, GL_STACK_OVERFLOW, "glPushAttrib" );
return;
}
@@ -573,7 +573,7 @@ _mesa_PopAttrib(void)
ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
if (ctx->AttribStackDepth == 0) {
- gl_error( ctx, GL_STACK_UNDERFLOW, "glPopAttrib" );
+ _mesa_error( ctx, GL_STACK_UNDERFLOW, "glPopAttrib" );
return;
}
@@ -583,7 +583,7 @@ _mesa_PopAttrib(void)
while (attr) {
if (MESA_VERBOSE&VERBOSE_API)
- fprintf(stderr, "glPopAttrib %s\n", gl_lookup_enum_by_nr(attr->kind));
+ fprintf(stderr, "glPopAttrib %s\n", _mesa_lookup_enum_by_nr(attr->kind));
switch (attr->kind) {
case GL_ACCUM_BUFFER_BIT:
@@ -871,7 +871,7 @@ _mesa_PopAttrib(void)
}
break;
default:
- gl_problem( ctx, "Bad attrib flag in PopAttrib");
+ _mesa_problem( ctx, "Bad attrib flag in PopAttrib");
break;
}
@@ -897,7 +897,7 @@ _mesa_PushClientAttrib(GLbitfield mask)
ASSERT_OUTSIDE_BEGIN_END(ctx);
if (ctx->ClientAttribStackDepth >= MAX_CLIENT_ATTRIB_STACK_DEPTH) {
- gl_error( ctx, GL_STACK_OVERFLOW, "glPushClientAttrib" );
+ _mesa_error( ctx, GL_STACK_OVERFLOW, "glPushClientAttrib" );
return;
}
@@ -948,7 +948,7 @@ _mesa_PopClientAttrib(void)
ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
if (ctx->ClientAttribStackDepth == 0) {
- gl_error( ctx, GL_STACK_UNDERFLOW, "glPopClientAttrib" );
+ _mesa_error( ctx, GL_STACK_UNDERFLOW, "glPopClientAttrib" );
return;
}
@@ -973,7 +973,7 @@ _mesa_PopClientAttrib(void)
ctx->NewState = _NEW_ARRAY;
break;
default:
- gl_problem( ctx, "Bad attrib flag in PopClientAttrib");
+ _mesa_problem( ctx, "Bad attrib flag in PopClientAttrib");
break;
}