summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_accum.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-09-24 19:59:30 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-09-24 19:59:30 +0000
commitf515c78a2320369ead087c4e0efd583f17b4b78b (patch)
tree9c1727baca27c88d99c28aeda4c8acf206488f99 /src/mesa/swrast/s_accum.c
parentba001224a18fa12792696ef393e708e90092127e (diff)
Change logicop, blend, masking functions to use the colors/indexes in the
sw_span object, rather than an explicit parameter.
Diffstat (limited to 'src/mesa/swrast/s_accum.c')
-rw-r--r--src/mesa/swrast/s_accum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_accum.c b/src/mesa/swrast/s_accum.c
index 9b48f8b8e4..46da9b89da 100644
--- a/src/mesa/swrast/s_accum.c
+++ b/src/mesa/swrast/s_accum.c
@@ -524,7 +524,7 @@ accum_return(GLcontext *ctx, GLfloat value,
for (buffer = 0; buffer < fb->_NumColorDrawBuffers[0]; buffer++) {
struct gl_renderbuffer *rb = fb->_ColorDrawBuffers[0][buffer];
if (masking) {
- _swrast_mask_rgba_span(ctx, rb, &span, span.array->rgba);
+ _swrast_mask_rgba_span(ctx, rb, &span);
}
rb->PutRow(ctx, rb, width, xpos, ypos + i, span.array->rgba, NULL);
}