From 863bd565204c7fec515457dfd6c59066309cb136 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 4 Jun 2005 17:45:50 +0000 Subject: remove old span code --- src/mesa/swrast/s_readpix.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/mesa/swrast/s_readpix.c') diff --git a/src/mesa/swrast/s_readpix.c b/src/mesa/swrast/s_readpix.c index 559fed5da6..de13a95ffc 100644 --- a/src/mesa/swrast/s_readpix.c +++ b/src/mesa/swrast/s_readpix.c @@ -300,17 +300,9 @@ read_fast_rgba_pixels( GLcontext *ctx, rowLength = -rowLength; } + ASSERT(rb->GetRow); for (row=0; rowDriver.ReadRGBASpan)(ctx, rb, readWidth, srcX, srcY, - (GLchan (*)[4]) dest); - if (ctx->DrawBuffer->UseSoftwareAlphaBuffers) { - _swrast_read_alpha_span(ctx, readWidth, srcX, srcY, - (GLchan (*)[4]) dest); - } -#else rb->GetRow(ctx, rb, readWidth, srcX, srcY, dest); -#endif dest += rowLength * 4; srcY++; } -- cgit v1.2.3