summaryrefslogtreecommitdiff
path: root/src/gx_rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gx_rotate.c')
-rw-r--r--src/gx_rotate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gx_rotate.c b/src/gx_rotate.c
index 9eb39e7..2a86b30 100644
--- a/src/gx_rotate.c
+++ b/src/gx_rotate.c
@@ -158,7 +158,7 @@ GXRotate(ScrnInfoPtr pScrni, DisplayModePtr mode)
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 =
@@ -174,6 +174,7 @@ GXRotate(ScrnInfoPtr pScrni, DisplayModePtr mode)
pGeode->AccelInfoRec->maxOffPixHeight = 1;
}
}
+#endif
return TRUE;