diff options
author | Keith Whitwell <[email protected]> | 2000-10-27 16:44:40 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2000-10-27 16:44:40 +0000 |
commit | fe5d67d95f3a5fc84c5421d409a6464642aaf2cb (patch) | |
tree | e425a9d97e9e1bbdf4848b313c7c1548db11cb36 /src/mesa/main/clip.c | |
parent | ba58a6665f21319a636ec4c09f7f592fbc8e36b5 (diff) |
Implement EXT_fog_coord and EXT_secondary_color.
EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
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]; |