remove reference to ctx->Color.DrawBuffer

This commit is contained in:
Brian
2007-08-16 16:43:31 +01:00
parent 09867b53a9
commit c5a5d12743
+1 -1
View File
@@ -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;