Don't let FragmentProgram._Active influence choice of vertex vs pixel
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 11 May 2005 15:18:23 +0000 (15:18 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 11 May 2005 15:18:23 +0000 (15:18 +0000)
fog.

src/mesa/swrast/s_span.c

index 6019eff99026962234b4b84803325bf1c763de0b..a90a8fb6cd25f3cfa663d239ad788282e388881c 100644 (file)
@@ -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 &&