diff options
author | Thierry Reding <[email protected]> | 2006-11-18 17:59:25 +0000 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2006-11-18 17:59:25 +0000 |
commit | bb44a8ae1f392d44b2f588c831101c865485bcfd (patch) | |
tree | 3c5e6aa649975c46d68c3f7745f6410ddac1f174 /src/mesa/tnl/t_vb_arbprogram.c | |
parent | b5a5062176ffae31566f55db4eee6099d15ccf1f (diff) |
Update to latest upstream release candidate.
Update patches.
Diffstat (limited to 'src/mesa/tnl/t_vb_arbprogram.c')
-rw-r--r-- | src/mesa/tnl/t_vb_arbprogram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c index 0ff26df713a..71fb45dd95c 100644 --- a/src/mesa/tnl/t_vb_arbprogram.c +++ b/src/mesa/tnl/t_vb_arbprogram.c @@ -1182,7 +1182,8 @@ do_ndc_cliptest(GLcontext *ctx, struct arb_vp_machine *m) /* Test userclip planes. This contributes to VB->ClipMask. */ - if (ctx->Transform.ClipPlanesEnabled && !ctx->VertexProgram._Enabled) { + if (ctx->Transform.ClipPlanesEnabled && (!ctx->VertexProgram._Enabled || + ctx->VertexProgram.Current->IsPositionInvariant)) { userclip( ctx, VB->ClipPtr, m->clipmask, |