summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mga_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 0699ac1..636e985 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -1971,6 +1971,9 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
pMga->NoAccel = FALSE;
pMga->Exa = FALSE;
#ifdef USE_EXA
+#ifndef HAVE_XAA_H
+ pMga->Exa = TRUE;
+#endif
if (!xf86NameCmp(s, "EXA")) {
pMga->Exa = TRUE;
from = X_CONFIG;