diff options
Diffstat (limited to 'src/mesa/drivers/dri/savage')
-rw-r--r-- | src/mesa/drivers/dri/savage/savagespan.c | 5 | ||||
-rw-r--r-- | src/mesa/drivers/dri/savage/savagestate.c | 15 |
2 files changed, 1 insertions, 19 deletions
diff --git a/src/mesa/drivers/dri/savage/savagespan.c b/src/mesa/drivers/dri/savage/savagespan.c index 606c7d50c7e..5d6246797f2 100644 --- a/src/mesa/drivers/dri/savage/savagespan.c +++ b/src/mesa/drivers/dri/savage/savagespan.c @@ -234,10 +234,7 @@ void savageDDInitSpanFuncs( GLcontext *ctx ) struct swrast_device_driver *swdd = _swrast_GetDeviceDriverReference(ctx); swdd->SpanRenderStart = savageSpanRenderStart; - /* Pixel path fallbacks. - */ - ctx->Driver.Accum = _swrast_Accum; - ctx->Driver.Bitmap = _swrast_Bitmap; + /* XXX these should probably be plugged in elsewhere */ ctx->Driver.CopyPixels = savageCopyPixels; ctx->Driver.DrawPixels = savageDrawPixels; ctx->Driver.ReadPixels = savageReadPixels; diff --git a/src/mesa/drivers/dri/savage/savagestate.c b/src/mesa/drivers/dri/savage/savagestate.c index 3a267e025c9..e554afdbb7e 100644 --- a/src/mesa/drivers/dri/savage/savagestate.c +++ b/src/mesa/drivers/dri/savage/savagestate.c @@ -1695,11 +1695,6 @@ void savageDDInitStateFuncs(GLcontext *ctx) ctx->Driver.CullFace = 0; ctx->Driver.FrontFace = 0; #endif /* end #if HW_CULL */ - ctx->Driver.PolygonMode=NULL; - ctx->Driver.PolygonStipple = 0; - ctx->Driver.LineStipple = 0; - ctx->Driver.LineWidth = 0; - ctx->Driver.LogicOpcode = 0; ctx->Driver.DrawBuffer = savageDDDrawBuffer; ctx->Driver.ReadBuffer = savageDDReadBuffer; ctx->Driver.ClearColor = savageDDClearColor; @@ -1708,9 +1703,6 @@ void savageDDInitStateFuncs(GLcontext *ctx) ctx->Driver.Viewport = savageViewport; ctx->Driver.RenderMode = savageRenderMode; - ctx->Driver.ClearIndex = 0; - ctx->Driver.IndexMask = 0; - if (SAVAGE_CONTEXT( ctx )->savageScreen->chipset >= S3_SAVAGE4) { ctx->Driver.Enable = savageDDEnable_s4; ctx->Driver.AlphaFunc = savageDDAlphaFunc_s4; @@ -1736,11 +1728,4 @@ void savageDDInitStateFuncs(GLcontext *ctx) ctx->Driver.StencilMaskSeparate = NULL; ctx->Driver.StencilOpSeparate = NULL; } - - /* 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; } |