diff options
Diffstat (limited to 'src/g80_driver.c')
-rw-r--r-- | src/g80_driver.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/g80_driver.c b/src/g80_driver.c index 10b81db..b022159 100644 --- a/src/g80_driver.c +++ b/src/g80_driver.c @@ -281,9 +281,12 @@ G80PreInit(ScrnInfoPtr pScrn, int flags) xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Acceleration disabled\n"); } s = xf86GetOptValString(pNv->Options, OPTION_ACCEL_METHOD); +#ifdef HAVE_XAA_H if(!s || !strcasecmp(s, "xaa")) pNv->AccelMethod = XAA; - else if(!strcasecmp(s, "exa")) + else +#endif + if(!strcasecmp(s, "exa")) pNv->AccelMethod = EXA; else { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Unrecognized AccelMethod " |