summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_accum.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_accum.c
parent13c8f985d96fa7dda0fd71dc4f656ce01dcdbe85 (diff)
Remove last of the old span code.
Diffstat (limited to 'src/mesa/swrast/s_accum.c')
-rw-r--r--src/mesa/swrast/s_accum.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mesa/swrast/s_accum.c b/src/mesa/swrast/s_accum.c
index b0af0f95d4f..5621d0c8aa9 100644
--- a/src/mesa/swrast/s_accum.c
+++ b/src/mesa/swrast/s_accum.c
@@ -521,13 +521,7 @@ accum_return(GLcontext *ctx, GLfloat value,
if (masking) {
_swrast_mask_rgba_array(ctx, rb, width, xpos, ypos + i, rgba);
}
-#if OLD_RENDERBUFFER
- if (swrast->Driver.WriteRGBASpan)
- swrast->Driver.WriteRGBASpan(ctx, rb, width, xpos, ypos + i,
- (const GLchan (*)[4]) rgba, NULL);
- else
-#endif
- rb->PutRow(ctx, rb, width, xpos, ypos + i, rgba, NULL);
+ rb->PutRow(ctx, rb, width, xpos, ypos + i, rgba, NULL);
}
}
}