summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/s3v/s3v_dd.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-10-15 18:31:29 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-10-15 18:31:29 +0000
commita391384bad9e960989dc8c793386081afc55592c (patch)
treeda9ac9b5c939c789fc11b1786cd4ffcef4da6cd6 /src/mesa/drivers/dri/s3v/s3v_dd.c
parentf0775c7fccac2b91200dd4537686fe5c9b61c6ab (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/s3v/s3v_dd.c')
-rw-r--r--src/mesa/drivers/dri/s3v/s3v_dd.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/mesa/drivers/dri/s3v/s3v_dd.c b/src/mesa/drivers/dri/s3v/s3v_dd.c
index 072e97b43a..1cbe890319 100644
--- a/src/mesa/drivers/dri/s3v/s3v_dd.c
+++ b/src/mesa/drivers/dri/s3v/s3v_dd.c
@@ -85,23 +85,6 @@ void s3vInitExtensions( GLcontext *ctx )
*/
void s3vInitDriverFuncs( GLcontext *ctx )
{
- ctx->Driver.GetBufferSize = s3vDDGetBufferSize;
- ctx->Driver.GetString = s3vDDGetString;
-
- 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 = s3vDDGetBufferSize;
+ ctx->Driver.GetString = s3vDDGetString;
}