projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e9799a
)
don't skip user clip plane clipping when the current vertex program is position invar...
author
Roland Scheidegger
<rscheidegger@gmx.ch>
Fri, 22 Sep 2006 13:34:24 +0000
(13:34 +0000)
committer
Roland Scheidegger
<rscheidegger@gmx.ch>
Fri, 22 Sep 2006 13:34:24 +0000
(13:34 +0000)
src/mesa/tnl/t_vb_arbprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vb_arbprogram.c
b/src/mesa/tnl/t_vb_arbprogram.c
index 0ff26df713a7bbd639143db0a004a40f43b5e6bd..71fb45dd95c1b7c6cac7b9e9f7d2a2c1cc801d26 100644
(file)
--- 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,