summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-04-13 14:53:35 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-04-13 14:53:35 +0000
commit95b0d3528a6064cf08141db406f8e2491a58283f (patch)
tree0add12dd51c3950922cfff70ce87b2ed31c21c1a
parentdcd4ea47467a3c459b88c0d818324080e5edc19a (diff)
downloadmesa-95b0d3528a6064cf08141db406f8e2491a58283f.tar.gz
applied Keith's fix for the Loki ice bug
-rw-r--r--src/mesa/main/clip.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mesa/main/clip.c b/src/mesa/main/clip.c
index 8a773f8d6bc..41c65956c73 100644
--- a/src/mesa/main/clip.c
+++ b/src/mesa/main/clip.c
@@ -1,4 +1,4 @@
-/* $Id: clip.c,v 1.4.2.1 1999/11/25 16:51:24 keithw Exp $ */
+/* $Id: clip.c,v 1.4.2.2 2000/04/13 14:53:35 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -374,13 +374,10 @@ void gl_update_clipmask( GLcontext *ctx )
if (ctx->Visual->RGBAflag)
{
- if (ctx->Light.ShadeModel==GL_SMOOTH)
- {
- mask |= CLIP_RGBA0;
+ mask |= CLIP_RGBA0;
- if (ctx->TriangleCaps & (DD_TRI_LIGHT_TWOSIDE|DD_SEPERATE_SPECULAR))
- mask |= CLIP_RGBA1;
- }
+ if (ctx->TriangleCaps & (DD_TRI_LIGHT_TWOSIDE|DD_SEPERATE_SPECULAR))
+ mask |= CLIP_RGBA1;
if (ctx->Texture.ReallyEnabled & 0xf0)
mask |= CLIP_TEX1|CLIP_TEX0;