summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_fog.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/tnl/t_vb_fog.c
parent19bbfc62638b60dd1a41e84686f24483adea5b03 (diff)
lots of gl_*() to _mesa_*() namespace clean-up
Diffstat (limited to 'src/mesa/tnl/t_vb_fog.c')
-rw-r--r--src/mesa/tnl/t_vb_fog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/tnl/t_vb_fog.c b/src/mesa/tnl/t_vb_fog.c
index e6d0234d5f..cf01d4c9c3 100644
--- a/src/mesa/tnl/t_vb_fog.c
+++ b/src/mesa/tnl/t_vb_fog.c
@@ -1,4 +1,4 @@
-/* $Id: t_vb_fog.c,v 1.4 2001/02/27 21:58:59 brianp Exp $ */
+/* $Id: t_vb_fog.c,v 1.5 2001/03/03 20:33:31 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -122,7 +122,7 @@ static void make_win_fog_coords( GLcontext *ctx, GLvector1f *out,
}
break;
default:
- gl_problem(ctx, "Bad fog mode in make_fog_coord");
+ _mesa_problem(ctx, "Bad fog mode in make_fog_coord");
return;
}
}
@@ -167,7 +167,7 @@ static GLboolean run_fog_stage( GLcontext *ctx,
input = &store->input;
if (VB->EyePtr->size < 2)
- gl_vector4f_clean_elem( VB->EyePtr, VB->Count, 2 );
+ _mesa_vector4f_clean_elem( VB->EyePtr, VB->Count, 2 );
input->data = &(VB->EyePtr->data[0][2]);
input->start = VB->EyePtr->start+2;
@@ -204,8 +204,8 @@ static GLboolean alloc_fog_data( GLcontext *ctx,
if (!store)
return GL_FALSE;
- gl_vector1f_alloc( &store->fogcoord, 0, tnl->vb.Size, 32 );
- gl_vector1f_init( &store->input, 0, 0 );
+ _mesa_vector1f_alloc( &store->fogcoord, 0, tnl->vb.Size, 32 );
+ _mesa_vector1f_init( &store->input, 0, 0 );
if (!inited)
init_static_data();
@@ -221,7 +221,7 @@ static void free_fog_data( struct gl_pipeline_stage *stage )
{
struct fog_stage_data *store = FOG_STAGE_DATA(stage);
if (store) {
- gl_vector1f_free( &store->fogcoord );
+ _mesa_vector1f_free( &store->fogcoord );
FREE( store );
stage->private = 0;
}