summaryrefslogtreecommitdiff
path: root/src/savage_dri.c
diff options
context:
space:
mode:
authorIan Romanick <idr@umwelt.(none)>2006-08-07 17:13:40 -0700
committerIan Romanick <idr@umwelt.(none)>2006-08-07 17:13:40 -0700
commitee91d006596634d339a853aaaa09b33b74b60235 (patch)
treea1cc70a0a9df00ef1c09cd133077389f621d5522 /src/savage_dri.c
parente4609dcc51f6034393a0b75fa52caa9b3e585d3b (diff)
DRIINFO_MAJOR_VERSION has be 5 for over a year. Remove the old code.
Diffstat (limited to 'src/savage_dri.c')
-rw-r--r--src/savage_dri.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/savage_dri.c b/src/savage_dri.c
index 78987af..b55573e 100644
--- a/src/savage_dri.c
+++ b/src/savage_dri.c
@@ -882,12 +882,7 @@ Bool SAVAGEDRIScreenInit( ScreenPtr pScreen )
pDRIInfo->ddxDriverMinorVersion = SAVAGE_VERSION_MINOR;
pDRIInfo->ddxDriverPatchVersion = SAVAGE_PATCHLEVEL;
-#if DRIINFO_MAJOR_VERSION < 5
- pDRIInfo->frameBufferPhysicalAddress = psav->FrameBufferBase;
-#else
pDRIInfo->frameBufferPhysicalAddress = (pointer) psav->FrameBufferBase;
-#endif
-
pDRIInfo->frameBufferSize = psav->videoRambytes;
pDRIInfo->frameBufferStride = pScrn->displayWidth*(pScrn->bitsPerPixel/8);
pDRIInfo->ddxDrawableTableEntry = SAVAGE_MAX_DRAWABLES;