summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2000-11-07 19:17:23 +0000
committerKeith Whitwell <[email protected]>2000-11-07 19:17:23 +0000
commit14425aeca18fdf1223625a9b5b6d32f619715bee (patch)
treec3300fdeaa5ceb681b80889a6a882eb83222a03f /src/mesa/swrast_setup
parent7298e71360ca1f38e7f0e0426fbf1a8dcbafdbd7 (diff)
fixed very obvious fog bug
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r--src/mesa/swrast_setup/ss_vb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/swrast_setup/ss_vb.c b/src/mesa/swrast_setup/ss_vb.c
index 6849c0c0802..5e0f4dc84b3 100644
--- a/src/mesa/swrast_setup/ss_vb.c
+++ b/src/mesa/swrast_setup/ss_vb.c
@@ -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;