From a391384bad9e960989dc8c793386081afc55592c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 15 Oct 2006 18:31:29 +0000 Subject: Remove a bunch of "ctx->Driver.function = _swrast_Function" lines since default/fallback functions are already plugged in by the call to _mesa_init_driver_functions(). --- src/mesa/drivers/dri/savage/savagespan.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mesa/drivers/dri/savage/savagespan.c') diff --git a/src/mesa/drivers/dri/savage/savagespan.c b/src/mesa/drivers/dri/savage/savagespan.c index 606c7d50c7e..5d6246797f2 100644 --- a/src/mesa/drivers/dri/savage/savagespan.c +++ b/src/mesa/drivers/dri/savage/savagespan.c @@ -234,10 +234,7 @@ void savageDDInitSpanFuncs( GLcontext *ctx ) struct swrast_device_driver *swdd = _swrast_GetDeviceDriverReference(ctx); swdd->SpanRenderStart = savageSpanRenderStart; - /* Pixel path fallbacks. - */ - ctx->Driver.Accum = _swrast_Accum; - ctx->Driver.Bitmap = _swrast_Bitmap; + /* XXX these should probably be plugged in elsewhere */ ctx->Driver.CopyPixels = savageCopyPixels; ctx->Driver.DrawPixels = savageDrawPixels; ctx->Driver.ReadPixels = savageReadPixels; -- cgit v1.2.3