diff options
author | Brian <[email protected]> | 2007-08-16 16:43:31 +0100 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-16 16:43:31 +0100 |
commit | c5a5d12743b4921ab9c01ee69fa6a06b6b4d716a (patch) | |
tree | 7af00cff467a7077d38a0eff0a698340b38a3516 /src/mesa/swrast | |
parent | 09867b53a9add9c1a392ad46f850d40d50bbc536 (diff) |
remove reference to ctx->Color.DrawBuffer
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_span.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |