diff options
author | Keith Whitwell <[email protected]> | 2005-05-11 15:18:23 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-05-11 15:18:23 +0000 |
commit | 9d148e6b2be33fe7ac72aaa3be239dc1bc8878a9 (patch) | |
tree | 5a14a7bec6514c2c41cf41e45fec347caa233dfe /src | |
parent | 363d0bcf01b1e7b77c5a8d317bb0c6df8697a836 (diff) |
Don't let FragmentProgram._Active influence choice of vertex vs pixel
fog.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/swrast/s_span.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 6019eff9902..a90a8fb6cd2 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 && |