summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2017-01-22 17:28:04 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2024-08-02 08:29:12 +0200
commit15dd61136d341c2ecd52ade1a5ad6c4fb86ba9d0 (patch)
tree4f619e7c0d1da90a7f11f0e597b017b0bb9d72c5
parent006b099fb70fce388bf862ca99ae7d8c369f5bd6 (diff)
Reduce diffs with upstreamsobsd
-rw-r--r--src/mga_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 85af4c5..720e98e 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -1956,14 +1956,13 @@ 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");