diff options
author | Brian Paul <[email protected]> | 2000-04-13 14:53:25 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-04-13 14:53:25 +0000 |
commit | ad2f32155f6db21c19fc2dfb002853a0bc0649af (patch) | |
tree | 228d568565a334991d91df0304cd3b23c66c32fe /src | |
parent | 179870a5b806a3ee84cb56fa20c3a003f9fc5b97 (diff) |
applied Keith's fix for the Loki ice bug
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/clip.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mesa/main/clip.c b/src/mesa/main/clip.c index 5aaf6c663c5..00cd8e32ce2 100644 --- a/src/mesa/main/clip.c +++ b/src/mesa/main/clip.c @@ -1,4 +1,4 @@ -/* $Id: clip.c,v 1.6 2000/02/25 03:55:39 keithw Exp $ */ +/* $Id: clip.c,v 1.7 2000/04/13 14:53:25 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -375,13 +375,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; |