diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-09-06 16:43:51 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-09-06 16:43:51 +0200 |
commit | 6391a058b333de306c9b11c6a723cb4457e76c8f (patch) | |
tree | 1d5362334c79ac25d845dffe9c24a6fb66384e68 /src | |
parent | 74e85b19e564927337f23f6de25bb58f309e892b (diff) |
Fixed the non-EXA build.
Diffstat (limited to 'src')
-rw-r--r-- | src/mga_driver.c | 4 |
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 */ |