diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-06-02 04:09:05 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-06-02 04:09:05 +0000 |
commit | 3fe9c40cb27b23d44e938a19fbf4f21e1b1e288b (patch) | |
tree | a282265070f1781be7a1427d1141d2dc02acc23e /src/mesa/swrast/s_drawpix.c | |
parent | 13c8f985d96fa7dda0fd71dc4f656ce01dcdbe85 (diff) |
Remove last of the old span code.
Diffstat (limited to 'src/mesa/swrast/s_drawpix.c')
-rw-r--r-- | src/mesa/swrast/s_drawpix.c | 9 |
1 files changed, 1 insertions, 8 deletions
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) { |