summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_program.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-09 08:54:38 -0600
committerBrian Paul <brianp@vmware.com>2009-09-09 08:54:38 -0600
commit3fed69eb168774d2303e4efb9149f34e55d91b58 (patch)
tree46a63a73c5a3c3b649b76743600f38466620f0c5 /src/mesa/tnl/t_vb_program.c
parentda9ed257a3b47c97ac557da17c32cf271190a407 (diff)
mesa: move call to init_c_cliptest() from enable.c to tnl module.
Fixed gallium build breakage.
Diffstat (limited to 'src/mesa/tnl/t_vb_program.c')
-rw-r--r--src/mesa/tnl/t_vb_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c
index 5d89f8bc31..c10a27614f 100644
--- a/src/mesa/tnl/t_vb_program.c
+++ b/src/mesa/tnl/t_vb_program.c
@@ -131,6 +131,8 @@ do_ndc_cliptest(GLcontext *ctx, struct vp_stage_data *store)
store->ormask = 0;
store->andmask = CLIP_FRUSTUM_BITS;
+ tnl_clip_prepare(ctx);
+
if (tnl->NeedNdcCoords) {
VB->NdcPtr =
_mesa_clip_tab[VB->ClipPtr->size]( VB->ClipPtr,