diff options
author | Brian Paul <[email protected]> | 2006-10-15 18:31:29 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-10-15 18:31:29 +0000 |
commit | a391384bad9e960989dc8c793386081afc55592c (patch) | |
tree | da9ac9b5c939c789fc11b1786cd4ffcef4da6cd6 /src/mesa/drivers/dri/mga/mgapixel.c | |
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/mga/mgapixel.c')
-rw-r--r-- | src/mesa/drivers/dri/mga/mgapixel.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/mga/mgapixel.c b/src/mesa/drivers/dri/mga/mgapixel.c index 38577f05edd..2b9da8c1813 100644 --- a/src/mesa/drivers/dri/mga/mgapixel.c +++ b/src/mesa/drivers/dri/mga/mgapixel.c @@ -646,15 +646,8 @@ mgaDDDrawPixels( GLcontext *ctx, */ void mgaDDInitPixelFuncs( GLcontext *ctx ) { - /* 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; - #if 0 + /* evidently, these functions don't always work */ if (getenv("MGA_BLIT_PIXELS")) { ctx->Driver.ReadPixels = mgaDDReadPixels; /* requires agp dest */ ctx->Driver.DrawPixels = mgaDDDrawPixels; /* works with agp/normal mem */ |