summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_vb_program.c')
-rw-r--r--src/mesa/tnl/t_vb_program.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c
index 38b04b48f9d..520775412e8 100644
--- a/src/mesa/tnl/t_vb_program.c
+++ b/src/mesa/tnl/t_vb_program.c
@@ -201,9 +201,9 @@ run_vp( GLcontext *ctx, struct tnl_pipeline_stage *stage )
&store->andmask );
}
else {
- VB->NdcPtr = 0;
+ VB->NdcPtr = NULL;
_mesa_clip_np_tab[VB->ClipPtr->size]( VB->ClipPtr,
- 0,
+ NULL,
store->clipmask,
&store->ormask,
&store->andmask );
@@ -345,7 +345,7 @@ static void dtr( struct tnl_pipeline_stage *stage )
ALIGN_FREE( store->clipmask );
FREE( store );
- stage->privatePtr = 0;
+ stage->privatePtr = NULL;
}
}