projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
934bee0
)
decrement Transform._AnyClip when clip planes are disabled
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 28 Mar 2002 22:45:45 +0000
(22:45 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 28 Mar 2002 22:45:45 +0000
(22:45 +0000)
src/mesa/main/enable.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/enable.c
b/src/mesa/main/enable.c
index 366c2cef847f849c9d703f9989fb594a7db019ae..385ceffb98f16e348bbf96ffc1dc01837c5a133a 100644
(file)
--- a/
src/mesa/main/enable.c
+++ b/
src/mesa/main/enable.c
@@
-1,4
+1,4
@@
-/* $Id: enable.c,v 1.5
7 2002/02/13 00:53:19 keithw
Exp $ */
+/* $Id: enable.c,v 1.5
8 2002/03/28 22:45:45 brianp
Exp $ */
/*
* Mesa 3-D graphics library
@@
-230,6
+230,9
@@
void _mesa_set_enable( GLcontext *ctx, GLenum cap, GLboolean state )
ctx->Transform.EyeUserPlane[p],
ctx->ProjectionMatrixStack.Top->inv );
}
+ else {
+ ctx->Transform._AnyClip--;
+ }
}
break;
case GL_COLOR_MATERIAL: