s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking()
authorBrian <brian.paul@tungstengraphics.com>
Sat, 30 Jun 2007 03:33:59 +0000 (21:33 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Sat, 30 Jun 2007 03:33:59 +0000 (21:33 -0600)
src/mesa/swrast/s_buffers.c

index 35f2dd64909eda10423a0b38f45d42d002301078..bd66cf125b59f601acc0522a4195998ecaeccc7a 100644 (file)
@@ -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;
    }