fixed very obvious fog bug
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 7 Nov 2000 19:17:23 +0000 (19:17 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 7 Nov 2000 19:17:23 +0000 (19:17 +0000)
src/mesa/swrast_setup/ss_vb.c

index 6849c0c0802e2084293703e8e1acdf9e92e65cf7..5e0f4dc84b3b4dcebdf98d42452bc0404caf4723 100644 (file)
@@ -168,6 +168,9 @@ _swsetup_choose_rastersetup_func(GLcontext *ctx)
 
          if (ctx->Point._Attenuated)
             funcindex |= EYE;
+
+        if (ctx->Fog.Enabled)
+           funcindex |= FOG;
       }
       else {
          funcindex = INDEX;