summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mga_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 85af4c5..720e98e 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -1956,14 +1956,13 @@ 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");