summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_vertex.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-05-10 18:16:03 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-05-10 18:16:03 +0000
commit352d4dbfb24c65f327759c00c7db7d30a9482e35 (patch)
treecabc4ec120d77e991ec7fcb3e21baa3b26b0c282 /src/mesa/tnl/t_vb_vertex.c
parent39fe9a7fe38081d6f40c4bf388a132c583330912 (diff)
Add EXT_vertex_cull support to mesa
Diffstat (limited to 'src/mesa/tnl/t_vb_vertex.c')
-rw-r--r--src/mesa/tnl/t_vb_vertex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vb_vertex.c b/src/mesa/tnl/t_vb_vertex.c
index b483a9522d..3d64281882 100644
--- a/src/mesa/tnl/t_vb_vertex.c
+++ b/src/mesa/tnl/t_vb_vertex.c
@@ -208,6 +208,7 @@ static GLboolean run_vertex_stage( GLcontext *ctx,
return GL_FALSE;
}
+ VB->ClipAndMask = store->andmask;
VB->ClipOrMask = store->ormask;
VB->ClipMask = store->clipmask;
@@ -222,6 +223,7 @@ static GLboolean run_vertex_stage( GLcontext *ctx,
VB->ClipPtr = store->save_clipptr;
VB->NdcPtr = store->save_ndcptr;
VB->ClipMask = store->clipmask;
+ VB->ClipAndMask = store->andmask;
VB->ClipOrMask = store->ormask;
if (store->andmask)
return GL_FALSE;