From 14425aeca18fdf1223625a9b5b6d32f619715bee Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 7 Nov 2000 19:17:23 +0000 Subject: [PATCH] fixed very obvious fog bug --- src/mesa/swrast_setup/ss_vb.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.30.2