aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-06-29 21:33:59 -0600
committerBrian <[email protected]>2007-06-29 21:33:59 -0600
commitfcc77d3ece160743e3f0f034ce2e130030c6386d (patch)
tree1547e9cd11831041f49e280732af2ec8fa43f781 /src/mesa/swrast
parent9dca42a4a10acbf1980c0f2eafb3e28e11ca1bf3 (diff)
s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking()
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_buffers.c b/src/mesa/swrast/s_buffers.c
index 35f2dd64909..bd66cf125b5 100644
--- a/src/mesa/swrast/s_buffers.c
+++ b/src/mesa/swrast/s_buffers.c
@@ -119,7 +119,7 @@ clear_ci_buffer_with_masking(GLcontext *ctx, struct gl_renderbuffer *rb)
ASSERT(rb->DataType == GL_UNSIGNED_INT);
/* Initialize index span with clear index */
- INIT_SPAN(span, GL_BITMAP, width, 0, SPAN_RGBA);
+ INIT_SPAN(span, GL_BITMAP, width, 0, SPAN_INDEX);
for (i = 0; i < width;i++) {
span.array->index[i] = ctx->Color.ClearIndex;
}