From: Brian Date: Sat, 30 Jun 2007 03:33:59 +0000 (-0600) Subject: s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcc77d3ece160743e3f0f034ce2e130030c6386d;p=mesa.git s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking() --- 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; }