From 3fe9c40cb27b23d44e938a19fbf4f21e1b1e288b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 2 Jun 2005 04:09:05 +0000 Subject: Remove last of the old span code. --- src/mesa/swrast/s_drawpix.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/mesa/swrast/s_drawpix.c') diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index bd9a14b119..5860233a65 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -792,7 +792,6 @@ draw_rgba_pixels( GLcontext *ctx, GLint x, GLint y, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels ) { - SWcontext *swrast = SWRAST_CONTEXT(ctx); struct gl_renderbuffer *rb = NULL; /* only used for quickDraw path */ const GLboolean zoom = ctx->Pixel.ZoomX!=1.0 || ctx->Pixel.ZoomY!=1.0; const GLint desty = y; @@ -926,13 +925,7 @@ draw_rgba_pixels( GLcontext *ctx, GLint x, GLint y, /* draw the span */ if (quickDraw) { -#if OLD_RENDERBUFFER - if (swrast->Driver.WriteRGBASpan) - swrast->Driver.WriteRGBASpan(ctx, rb, span.end, span.x, span.y, - (CONST GLchan (*)[4]) span.array->rgba, NULL); - else -#endif - rb->PutRow(ctx, rb, span.end, span.x, span.y, + rb->PutRow(ctx, rb, span.end, span.x, span.y, span.array->rgba, NULL); } else if (zoom) { -- cgit v1.2.3