From 006b099fb70fce388bf862ca99ae7d8c369f5bd6 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Mon, 14 Jul 2014 11:31:07 +0200 Subject: Default to EXA acceleration Signed-off-by: Matthieu Herrb --- src/mga_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mga_driver.c b/src/mga_driver.c index 720e98e..85af4c5 100644 --- a/src/mga_driver.c +++ b/src/mga_driver.c @@ -1956,13 +1956,14 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags) const char *s = xf86GetOptValString(pMga->Options, OPTION_ACCELMETHOD); #endif pMga->NoAccel = FALSE; - pMga->Exa = FALSE; #ifdef USE_EXA pMga->Exa = TRUE; if (!xf86NameCmp(s, "EXA")) { pMga->Exa = TRUE; from = X_CONFIG; } +#else + pMga->Exa = FALSE; #endif xf86DrvMsg(pScrn->scrnIndex, from, "Using %s acceleration\n", pMga->Exa ? "EXA" : "no"); -- cgit v1.2.3