From 9d148e6b2be33fe7ac72aaa3be239dc1bc8878a9 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 11 May 2005 15:18:23 +0000 Subject: [PATCH] Don't let FragmentProgram._Active influence choice of vertex vs pixel fog. --- src/mesa/swrast/s_span.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 6019eff..a90a8fb 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -1280,7 +1280,7 @@ _swrast_write_rgba_span( GLcontext *ctx, struct sw_span *span) ASSERT(span->arrayMask & SPAN_RGBA); - if (!ctx->FragmentProgram._Active) { + if (!ctx->FragmentProgram._Enabled) { /* Add base and specular colors */ if (ctx->Fog.ColorSumEnabled || (ctx->Light.Enabled && -- 2.7.4