From: Brian Date: Thu, 16 Aug 2007 15:43:31 +0000 (+0100) Subject: remove reference to ctx->Color.DrawBuffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5a5d12743b4921ab9c01ee69fa6a06b6b4d716a;p=mesa.git remove reference to ctx->Color.DrawBuffer --- diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index cfc65bee87f..bbde0025f45 100644 --- 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;