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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index a7c6de1..cb2b94e 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -1521,7 +1521,9 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Acceleration disabled\n");
} else {
int from = X_DEFAULT;
+#ifdef USE_EXA
char *s = xf86GetOptValString(pMga->Options, OPTION_ACCELMETHOD);
+#endif
pMga->NoAccel = FALSE;
pMga->Exa = FALSE;
#ifdef USE_EXA
@@ -2375,7 +2377,9 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
return FALSE;
} else xf86LoaderReqSymLists(xaaSymbols, NULL);
#endif
+#ifdef USE_EXA
}
+#endif
}
/* Load ramdac if needed */