diff options
Diffstat (limited to 'src/mesa/main/clip.c')
-rw-r--r-- | src/mesa/main/clip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/clip.c b/src/mesa/main/clip.c index 5d589f7638c..1e98358aa18 100644 --- a/src/mesa/main/clip.c +++ b/src/mesa/main/clip.c @@ -1,4 +1,4 @@ -/* $Id: clip.c,v 1.9 2000/09/26 20:53:53 brianp Exp $ */ +/* $Id: clip.c,v 1.10 2000/10/27 16:44:40 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -396,7 +396,7 @@ void gl_update_clipmask( GLcontext *ctx ) mask |= CLIP_INDEX1; } - if (ctx->FogMode == FOG_FRAGMENT && (ctx->TriangleCaps & DD_CLIP_FOG_COORD)) + if (ctx->Fog.Enabled) mask |= CLIP_FOG_COORD; ctx->ClipInterpFunc = clip_interp_tab[mask]; |