diff options
-rw-r--r-- | src/savage_driver.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c index 026bf5c..5b49e60 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -1267,6 +1267,7 @@ static Bool SavagePreInit(ScrnInfoPtr pScrn, int flags) from = X_DEFAULT; char *strptr; if((strptr = (char *)xf86GetOptValString(psav->Options, OPTION_ACCELMETHOD))) { +#ifdef HAVE_XAA_H if(!xf86NameCmp(strptr,"XAA")) { from = X_CONFIG; psav->useEXA = FALSE; @@ -1274,6 +1275,9 @@ static Bool SavagePreInit(ScrnInfoPtr pScrn, int flags) from = X_CONFIG; psav->useEXA = TRUE; } +#else + psav->useEXA = TRUE; +#endif } xf86DrvMsg(pScrn->scrnIndex, from, "Using %s acceleration architecture\n", psav->useEXA ? "EXA" : "XAA"); |