summaryrefslogtreecommitdiff
path: root/src/mesa/main/clip.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/clip.c
parent19bbfc62638b60dd1a41e84686f24483adea5b03 (diff)
lots of gl_*() to _mesa_*() namespace clean-up
Diffstat (limited to 'src/mesa/main/clip.c')
-rw-r--r--src/mesa/main/clip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/main/clip.c b/src/mesa/main/clip.c
index c2c7ec3009..d2bbd8b9a0 100644
--- a/src/mesa/main/clip.c
+++ b/src/mesa/main/clip.c
@@ -1,4 +1,4 @@
-/* $Id: clip.c,v 1.19 2000/12/26 05:09:27 keithw Exp $ */
+/* $Id: clip.c,v 1.20 2001/03/03 20:33:27 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -60,7 +60,7 @@ _mesa_ClipPlane( GLenum plane, const GLdouble *eq )
p = (GLint) plane - (GLint) GL_CLIP_PLANE0;
if (p < 0 || p >= ctx->Const.MaxClipPlanes) {
- gl_error( ctx, GL_INVALID_ENUM, "glClipPlane" );
+ _mesa_error( ctx, GL_INVALID_ENUM, "glClipPlane" );
return;
}
@@ -80,7 +80,7 @@ _mesa_ClipPlane( GLenum plane, const GLdouble *eq )
if (ctx->ModelView.flags & MAT_DIRTY)
_math_matrix_analyse( &ctx->ModelView );
- gl_transform_vector( equation, equation, ctx->ModelView.inv );
+ _mesa_transform_vector( equation, equation, ctx->ModelView.inv );
if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation))
return;
@@ -90,13 +90,13 @@ _mesa_ClipPlane( GLenum plane, const GLdouble *eq )
/* Update derived state. This state also depends on the projection
* matrix, and is recalculated on changes to the projection matrix by
- * code in gl_update_state().
+ * code in _mesa_update_state().
*/
if (ctx->Transform.ClipEnabled[p]) {
if (ctx->ProjectionMatrix.flags & MAT_DIRTY)
_math_matrix_analyse( &ctx->ProjectionMatrix );
- gl_transform_vector( ctx->Transform._ClipUserPlane[p],
+ _mesa_transform_vector( ctx->Transform._ClipUserPlane[p],
ctx->Transform.EyeUserPlane[p],
ctx->ProjectionMatrix.inv );
}
@@ -115,7 +115,7 @@ _mesa_GetClipPlane( GLenum plane, GLdouble *equation )
p = (GLint) (plane - GL_CLIP_PLANE0);
if (p < 0 || p >= ctx->Const.MaxClipPlanes) {
- gl_error( ctx, GL_INVALID_ENUM, "glGetClipPlane" );
+ _mesa_error( ctx, GL_INVALID_ENUM, "glGetClipPlane" );
return;
}