summaryrefslogtreecommitdiff
path: root/src/i830_dga.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-31 12:43:38 -0800
committerEric Anholt <eric@anholt.net>2007-01-31 12:43:38 -0800
commit72ea0e514dcbebd009833c21f40e9bfb84074628 (patch)
treeaef881f91bb905aaba2554fc64fe85ad46104a34 /src/i830_dga.c
parente62751db8b1a631c22ba0f77c932be4ab39ba741 (diff)
Remove custom accelerated rotation code now that it's all done through Render.
Diffstat (limited to 'src/i830_dga.c')
-rw-r--r--src/i830_dga.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/i830_dga.c b/src/i830_dga.c
index c312c6d6..6d071ac3 100644
--- a/src/i830_dga.c
+++ b/src/i830_dga.c
@@ -397,17 +397,11 @@ I830_CloseFramebuffer(ScrnInfoPtr pScrn)
};
if (I830IsPrimary(pScrn)) {
- if (pI830->rotation != RR_Rotate_0)
- pScrn->fbOffset = pI830->RotatedMem.Start;
- else
- pScrn->fbOffset = pI830->FrontBuffer.Start;
+ pScrn->fbOffset = pI830->FrontBuffer.Start;
} else {
I830Ptr pI8301 = I830PTR(pI830->entityPrivate->pScrn_1);
- if (pI830->rotation != RR_Rotate_0)
- pScrn->fbOffset = pI8301->RotatedMem2.Start;
- else
- pScrn->fbOffset = pI8301->FrontBuffer2.Start;
+ pScrn->fbOffset = pI8301->FrontBuffer2.Start;
}
I830SelectBuffer(pScrn, I830_SELECT_FRONT);