summaryrefslogtreecommitdiff
path: root/src/g80_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/g80_driver.c')
-rw-r--r--src/g80_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/g80_driver.c b/src/g80_driver.c
index b022159..3af9dd9 100644
--- a/src/g80_driver.c
+++ b/src/g80_driver.c
@@ -434,9 +434,11 @@ G80PreInit(ScrnInfoPtr pScrn, int flags)
if(!pNv->NoAccel) {
switch(pNv->AccelMethod) {
+#ifdef HAVE_XAA_H
case XAA:
if(!xf86LoadSubModule(pScrn, "xaa")) pNv->NoAccel = 1;
break;
+#endif
case EXA:
if(!xf86LoadSubModule(pScrn, "exa")) pNv->NoAccel = 1;
break;