aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2005-06-26 21:54:43 +0000
committerEric Anholt <[email protected]>2005-06-26 21:54:43 +0000
commita4eb693b5fa74df9a43042fe763814a01ddeb42d (patch)
tree0767531d5aea7fab3ba50595a4c01fe6e9751ab6 /src/mesa/drivers/dri/r200
parent32b898126eeba38245ed1dac7d7332c3f923a012 (diff)
Remove the #if 0-ed out old span code.
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_span.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_span.c b/src/mesa/drivers/dri/r200/r200_span.c
index 09a9a440a87..a5c9b1bab64 100644
--- a/src/mesa/drivers/dri/r200/r200_span.c
+++ b/src/mesa/drivers/dri/r200/r200_span.c
@@ -358,51 +358,6 @@ void r200InitSpanFuncs( GLcontext *ctx )
struct swrast_device_driver *swdd = _swrast_GetDeviceDriverReference(ctx);
swdd->SetBuffer = r200SetBuffer;
-
- switch ( rmesa->r200Screen->cpp ) {
- case 2:
-#if 0
- r200InitPointers_RGB565( swdd );
-#endif
- break;
-
- case 4:
-#if 0
- r200InitPointers_ARGB8888( swdd );
-#endif
- break;
-
- default:
- break;
- }
-
- switch ( rmesa->glCtx->Visual.depthBits ) {
- case 16:
-#if 0
- swdd->ReadDepthSpan = r200ReadDepthSpan_16;
- swdd->WriteDepthSpan = r200WriteDepthSpan_16;
- swdd->ReadDepthPixels = r200ReadDepthPixels_16;
- swdd->WriteDepthPixels = r200WriteDepthPixels_16;
-#endif
- break;
-
- case 24:
-#if 0
- swdd->ReadDepthSpan = r200ReadDepthSpan_24_8;
- swdd->WriteDepthSpan = r200WriteDepthSpan_24_8;
- swdd->ReadDepthPixels = r200ReadDepthPixels_24_8;
- swdd->WriteDepthPixels = r200WriteDepthPixels_24_8;
- swdd->ReadStencilSpan = r200ReadStencilSpan_24_8;
- swdd->WriteStencilSpan = r200WriteStencilSpan_24_8;
- swdd->ReadStencilPixels = r200ReadStencilPixels_24_8;
- swdd->WriteStencilPixels = r200WriteStencilPixels_24_8;
-#endif
- break;
-
- default:
- break;
- }
-
swdd->SpanRenderStart = r200SpanRenderStart;
swdd->SpanRenderFinish = r200SpanRenderFinish;
}