summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_blend.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-06-02 04:09:05 +0000
committerBrian Paul <[email protected]>2005-06-02 04:09:05 +0000
commit3fe9c40cb27b23d44e938a19fbf4f21e1b1e288b (patch)
treea282265070f1781be7a1427d1141d2dc02acc23e /src/mesa/swrast/s_blend.c
parent13c8f985d96fa7dda0fd71dc4f656ce01dcdbe85 (diff)
Remove last of the old span code.
Diffstat (limited to 'src/mesa/swrast/s_blend.c')
-rw-r--r--src/mesa/swrast/s_blend.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mesa/swrast/s_blend.c b/src/mesa/swrast/s_blend.c
index f15c95710dc..d34ecacbb23 100644
--- a/src/mesa/swrast/s_blend.c
+++ b/src/mesa/swrast/s_blend.c
@@ -849,7 +849,6 @@ void
_swrast_blend_span(GLcontext *ctx, struct gl_renderbuffer *rb,
const struct sw_span *span, GLchan rgba[][4])
{
- SWcontext *swrast = SWRAST_CONTEXT(ctx);
GLchan framebuffer[MAX_WIDTH][4];
ASSERT(span->end <= MAX_WIDTH);
@@ -859,15 +858,8 @@ _swrast_blend_span(GLcontext *ctx, struct gl_renderbuffer *rb,
/* Read span of current frame buffer pixels */
if (span->arrayMask & SPAN_XY) {
/* array of x/y pixel coords */
-#if OLD_RENDERBUFFER
- if (swrast->Driver.ReadRGBAPixels)
- (*swrast->Driver.ReadRGBAPixels)( ctx, rb, span->end,
- span->array->x, span->array->y,
- framebuffer, span->array->mask );
- else
-#endif
- rb->GetValues(ctx, rb, span->end, span->array->x, span->array->y,
- framebuffer);
+ rb->GetValues(ctx, rb, span->end, span->array->x, span->array->y,
+ framebuffer);
}
else {
/* horizontal run of pixels */