projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dca42a
)
s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking()
author
Brian
<brian.paul@tungstengraphics.com>
Sat, 30 Jun 2007 03:33:59 +0000
(21:33 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Sat, 30 Jun 2007 03:33:59 +0000
(21:33 -0600)
src/mesa/swrast/s_buffers.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_buffers.c
b/src/mesa/swrast/s_buffers.c
index 35f2dd64909eda10423a0b38f45d42d002301078..bd66cf125b59f601acc0522a4195998ecaeccc7a 100644
(file)
--- 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;
}