Don't let FragmentProgram._Active influence choice of vertex vs pixel

fog.
This commit is contained in:
Keith Whitwell 2005-05-11 15:18:23 +00:00
parent 363d0bcf01
commit 9d148e6b2b

View 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 &&