summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-07 10:42:44 -0700
committerBrian <[email protected]>2007-03-07 10:42:44 -0700
commit1dca0891492dc5d2974239f04883a41a1738d91f (patch)
treed669a08510c588d22a93aef1324dce246c841f6a /src/mesa/swrast
parent3efd0c7b8d1aaa8abd78b35e4cb92dae4279dd77 (diff)
fix deferredTexture bug
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_span.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index 724cf616e84..a2044d0042e 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -1351,7 +1351,7 @@ _swrast_write_rgba_span( GLcontext *ctx, SWspan *span)
}
else if (shaderOrTexture) {
if (ctx->FragmentProgram._Current) {
- if (ctx->FragmentProgram.Current->Base.OutputsWritten
+ if (ctx->FragmentProgram._Current->Base.OutputsWritten
& (1 << FRAG_RESULT_DEPR)) {
/* Z comes from fragment program/shader */
deferredTexture = GL_FALSE;