summaryrefslogtreecommitdiff
path: root/src/mga_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mga_driver.c')
-rw-r--r--src/mga_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 720e98e..85af4c5 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -1956,13 +1956,14 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
const char *s = xf86GetOptValString(pMga->Options, OPTION_ACCELMETHOD);
#endif
pMga->NoAccel = FALSE;
- pMga->Exa = FALSE;
#ifdef USE_EXA
pMga->Exa = TRUE;
if (!xf86NameCmp(s, "EXA")) {
pMga->Exa = TRUE;
from = X_CONFIG;
}
+#else
+ pMga->Exa = FALSE;
#endif
xf86DrvMsg(pScrn->scrnIndex, from, "Using %s acceleration\n",
pMga->Exa ? "EXA" : "no");