diff options
Diffstat (limited to 'src/gx_rotate.c')
-rw-r--r-- | src/gx_rotate.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/gx_rotate.c b/src/gx_rotate.c index 6076a40..c849792 100644 --- a/src/gx_rotate.c +++ b/src/gx_rotate.c @@ -157,25 +157,6 @@ GXRotate(ScrnInfoPtr pScrni, DisplayModePtr mode) (pointer) (pGeode->FBBase + pScrni->fbOffset)); - /* Don't use XAA pixmap cache or offscreen pixmaps when rotated */ -#if XF86XAA - if (pGeode->AccelInfoRec) { - if (pGeode->rotation == RR_Rotate_0) { - pGeode->AccelInfoRec->Flags = - LINEAR_FRAMEBUFFER | OFFSCREEN_PIXMAPS | PIXMAP_CACHE; - pGeode->AccelInfoRec->UsingPixmapCache = TRUE; - pGeode->AccelInfoRec->maxOffPixWidth = 0; - pGeode->AccelInfoRec->maxOffPixHeight = 0; - } - else { - pGeode->AccelInfoRec->Flags = LINEAR_FRAMEBUFFER; - pGeode->AccelInfoRec->UsingPixmapCache = FALSE; - pGeode->AccelInfoRec->maxOffPixWidth = 1; - pGeode->AccelInfoRec->maxOffPixHeight = 1; - } - } -#endif - return TRUE; error: |