diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2012-07-21 12:36:17 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2012-07-26 05:18:14 +0300 |
commit | 68646c3119a69a8391a49f2d565672d73829e2c9 (patch) | |
tree | 5e4f053ef16d225f165c9485ad6b738d2b341351 /src/gx_rotate.c | |
parent | cb0e67bbc019b170194b3b51e2a47fca8d3aeac1 (diff) |
Allow building on Xservers without XAA
Diffstat (limited to 'src/gx_rotate.c')
-rw-r--r-- | src/gx_rotate.c | 3 |
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; |