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/i965/intel_context.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'src/mesa/drivers/dri/i965') diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c index d65de633fd..8be954d51d 100644 --- a/src/mesa/drivers/dri/i965/intel_context.c +++ b/src/mesa/drivers/dri/i965/intel_context.c @@ -250,26 +250,13 @@ void intelInitDriverFunctions( struct dd_function_table *functions ) functions->Finish = intelFinish; functions->GetString = intelGetString; functions->UpdateState = intelInvalidateState; - functions->CopyColorTable = _swrast_CopyColorTable; - functions->CopyColorSubTable = _swrast_CopyColorSubTable; - functions->CopyConvolutionFilter1D = _swrast_CopyConvolutionFilter1D; - functions->CopyConvolutionFilter2D = _swrast_CopyConvolutionFilter2D; - - /* Pixel path fallbacks. - */ - functions->Accum = _swrast_Accum; - functions->ReadPixels = _swrast_ReadPixels; - functions->DrawPixels = _swrast_DrawPixels; /* CopyPixels can be accelerated even with the current memory * manager: */ - functions->CopyPixels = intelCopyPixels; - functions->Bitmap = intelBitmap; - - if (getenv("INTEL_NO_BLIT")) { - functions->Bitmap = _swrast_Bitmap; - functions->CopyPixels = _swrast_CopyPixels; + if (!getenv("INTEL_NO_BLIT")) { + functions->CopyPixels = intelCopyPixels; + functions->Bitmap = intelBitmap; } intelInitTextureFuncs( functions ); -- cgit v1.2.3