summaryrefslogtreecommitdiff
path: root/src/mga_driver.c
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2018-11-26 11:02:30 -0800
committerKevin Brace <kevinbrace@gmx.com>2018-11-26 11:02:30 -0800
commit4017c6e91f8938f1f1617e53e30ee1d3d10d490c (patch)
tree9af17b88e297f629722bb57d56a68e3890b7902a /src/mga_driver.c
parentc5922dcc3ff26c9b1291e90ecedee35f97bc51c8 (diff)
Convert most HAVE_XAA_H conditional compilation labels to USE_XAA
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'src/mga_driver.c')
-rw-r--r--src/mga_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 441600a..94183db 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -1969,7 +1969,7 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
pMga->NoAccel = FALSE;
pMga->Exa = FALSE;
#ifdef USE_EXA
-#ifndef HAVE_XAA_H
+#ifndef USE_XAA
pMga->Exa = TRUE;
#endif
if (!xf86NameCmp(s, "EXA")) {
@@ -3148,7 +3148,7 @@ MGACrtc2FillStrip(ScrnInfoPtr pScrn)
(pScrn->bitsPerPixel >> 3) * pScrn->displayWidth * pScrn->virtualY);
} else {
xf86SetLastScrnFlag(pScrn->entityList[0], pScrn->scrnIndex);
-#ifdef HAVE_XAA_H
+#ifdef USE_XAA
pMga->RestoreAccelState(pScrn);
pMga->SetupForSolidFill(pScrn, 0, GXcopy, 0xFFFFFFFF);
pMga->SubsequentSolidFillRect(pScrn, pScrn->virtualX, 0,