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/gamma/gamma_dd.c | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'src/mesa/drivers/dri/gamma') diff --git a/src/mesa/drivers/dri/gamma/gamma_dd.c b/src/mesa/drivers/dri/gamma/gamma_dd.c index 8479eb3bba5..63e3ab8fa5d 100644 --- a/src/mesa/drivers/dri/gamma/gamma_dd.c +++ b/src/mesa/drivers/dri/gamma/gamma_dd.c @@ -104,23 +104,6 @@ void gammaDDInitExtensions( GLcontext *ctx ) */ void gammaDDInitDriverFuncs( GLcontext *ctx ) { - ctx->Driver.GetBufferSize = gammaDDGetBufferSize; - ctx->Driver.GetString = gammaDDGetString; - - ctx->Driver.Error = NULL; - - /* Pixel path fallbacks - */ - ctx->Driver.Accum = _swrast_Accum; - ctx->Driver.Bitmap = _swrast_Bitmap; - ctx->Driver.CopyPixels = _swrast_CopyPixels; - ctx->Driver.DrawPixels = _swrast_DrawPixels; - ctx->Driver.ReadPixels = _swrast_ReadPixels; - - /* Swrast hooks for imaging extensions: - */ - ctx->Driver.CopyColorTable = _swrast_CopyColorTable; - ctx->Driver.CopyColorSubTable = _swrast_CopyColorSubTable; - ctx->Driver.CopyConvolutionFilter1D = _swrast_CopyConvolutionFilter1D; - ctx->Driver.CopyConvolutionFilter2D = _swrast_CopyConvolutionFilter2D; + ctx->Driver.GetBufferSize = gammaDDGetBufferSize; + ctx->Driver.GetString = gammaDDGetString; } -- cgit v1.2.3