summaryrefslogtreecommitdiff
path: root/src/savage_dri.c
diff options
context:
space:
mode:
authorTormod Volden <git.tormod@xoxy.net>2008-02-24 21:46:43 -0500
committerAdam Jackson <ajax@redhat.com>2008-02-24 21:46:56 -0500
commitd838ed93a23b4e9dc438ad17875423e8b90f0015 (patch)
treebc1968de8f2455006f0f76383a4206504baf4749 /src/savage_dri.c
parent583051fce0d39fd2b8b5022016599e88d0af9041 (diff)
Bug #11139: Remove some dead code.
Diffstat (limited to 'src/savage_dri.c')
-rw-r--r--src/savage_dri.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/savage_dri.c b/src/savage_dri.c
index 211fef0..468cf7d 100644
--- a/src/savage_dri.c
+++ b/src/savage_dri.c
@@ -1119,14 +1119,7 @@ Bool SAVAGEDRIFinishScreenInit( ScreenPtr pScreen )
pSAVAGEDRI->apertureHandle = pSAVAGEDRIServer->aperture.handle;
pSAVAGEDRI->apertureSize = pSAVAGEDRIServer->aperture.size;
- {
- unsigned int shift = 0;
-
- if(pSAVAGEDRI->width > 1024)
- shift = 1;
-
- pSAVAGEDRI->aperturePitch = psav->ulAperturePitch;
- }
+ pSAVAGEDRI->aperturePitch = psav->ulAperturePitch;
{
unsigned int value = 0;