aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_accum.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-09-22 17:44:39 +0000
committerBrian Paul <[email protected]>2006-09-22 17:44:39 +0000
commit43715c711d2c1d1e7624cd7c9c8a44b8866510fd (patch)
tree45deb856011174d5edf21fb524fbb4219637c14b /src/mesa/swrast/s_accum.c
parent9f819dc0145aabe18717dcd1de6e83e62bb8b19a (diff)
Get rid of _swrast_mask_rgba_array() and _swrast_mask_index_array().
Diffstat (limited to 'src/mesa/swrast/s_accum.c')
-rw-r--r--src/mesa/swrast/s_accum.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_accum.c b/src/mesa/swrast/s_accum.c
index a159e804976..fa760501c22 100644
--- a/src/mesa/swrast/s_accum.c
+++ b/src/mesa/swrast/s_accum.c
@@ -1,6 +1,6 @@
/*
* Mesa 3-D graphics library
- * Version: 6.5.1
+ * Version: 6.5.2
*
* Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
@@ -519,7 +519,11 @@ 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_array(ctx, rb, width, xpos, ypos + i, rgba);
+ struct sw_span span;
+ INIT_SPAN(span, GL_BITMAP, width, 0, SPAN_RGBA);
+ span.x = xpos;
+ span.y = ypos + i;
+ _swrast_mask_rgba_span(ctx, rb, &span, rgba);
}
rb->PutRow(ctx, rb, width, xpos, ypos + i, rgba, NULL);
}