diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-15 18:31:29 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-15 18:31:29 +0000 |
commit | a391384bad9e960989dc8c793386081afc55592c (patch) | |
tree | da9ac9b5c939c789fc11b1786cd4ffcef4da6cd6 /src/mesa/drivers/dri/i965 | |
parent | f0775c7fccac2b91200dd4537686fe5c9b61c6ab (diff) |
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().
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_context.c | 19 |
1 files changed, 3 insertions, 16 deletions
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 ); |