From f515c78a2320369ead087c4e0efd583f17b4b78b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 24 Sep 2006 19:59:30 +0000 Subject: Change logicop, blend, masking functions to use the colors/indexes in the sw_span object, rather than an explicit parameter. --- src/mesa/swrast/s_accum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_accum.c') 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); } -- cgit v1.2.3