projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09867b5
)
remove reference to ctx->Color.DrawBuffer
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 16 Aug 2007 15:43:31 +0000
(16:43 +0100)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 16 Aug 2007 15:43:31 +0000
(16:43 +0100)
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 cfc65bee87fe101310a3e3298c8e8cd161f0aaaf..bbde0025f45d3a8da88c9f27521bd667cbd7d04e 100644
(file)
--- a/
src/mesa/swrast/s_span.c
+++ b/
src/mesa/swrast/s_span.c
@@
-873,7
+873,7
@@
_swrast_write_index_span( GLcontext *ctx, SWspan *span)
#endif
/* we have to wait until after occlusion to do this test */
- if (ctx->Color.
DrawBuffer == GL_NONE || ctx->Color.
IndexMask == 0) {
+ if (ctx->Color.IndexMask == 0) {
/* write no pixels */
span->arrayMask = origArrayMask;
return;