projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3efd0c7
)
fix deferredTexture bug
author
Brian
<brian@yutani.localnet.net>
Wed, 7 Mar 2007 17:42:44 +0000
(10:42 -0700)
committer
Brian
<brian@yutani.localnet.net>
Wed, 7 Mar 2007 17:42:44 +0000
(10:42 -0700)
src/mesa/swrast/s_span.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_span.c
b/src/mesa/swrast/s_span.c
index
724cf61
..
a2044d0
100644
(file)
--- 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;