summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-11-06 22:30:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-11-06 22:30:12 +0000
commit691bf39646f602707142859aff168392a3b98f33 (patch)
treef2ed8a74943e9b941515cb469bce89d997195c2e
parent65098b9ba66c05bcbd7cde8464dd32b7bde05ccb (diff)
Set default acceleration method to EXA, like upstreams.
-rw-r--r--driver/xf86-video-intel/src/i830_driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/driver/xf86-video-intel/src/i830_driver.c b/driver/xf86-video-intel/src/i830_driver.c
index 6ac47cc4b..3f9d253bf 100644
--- a/driver/xf86-video-intel/src/i830_driver.c
+++ b/driver/xf86-video-intel/src/i830_driver.c
@@ -1564,17 +1564,17 @@ I830PreInit(ScrnInfoPtr pScrn, int flags)
* If either XAA or EXA (exclusive) is compiled in, default to it.
*
* If both are compiled in, and the user didn't specify noAccel, use the
- * config option AccelMethod to determine which to use, defaulting to XAA
+ * config option AccelMethod to determine which to use, defaulting to EXA
* if none is specified, or if the string was unrecognized.
*
* All this *could* go away if we removed XAA support from this driver,
* for example. :)
*/
if (!pI830->noAccel) {
-#ifdef I830_USE_XAA
- pI830->useEXA = FALSE;
-#else
+#ifdef I830_USE_EXA
pI830->useEXA = TRUE;
+#else
+ pI830->useEXA = FALSE;
#endif
#if defined(I830_USE_XAA) && defined(I830_USE_EXA)
from = X_DEFAULT;