summaryrefslogtreecommitdiff
path: root/src/legacy
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-19 09:40:07 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-19 09:40:07 +0100
commit9bd0f8f3e7783d7a6bab707fc08ec96830cd5809 (patch)
tree3e5c4fb7a51c4c5e05f7a5c101a4f001d08dfbf9 /src/legacy
parentd145d0e1459f578eea621e6944814642e5dd431f (diff)
i810: Correct the double negative and enable XAA when available
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/legacy')
-rw-r--r--src/legacy/i810/i810_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/legacy/i810/i810_driver.c b/src/legacy/i810/i810_driver.c
index 33b5aa46..b7212cfb 100644
--- a/src/legacy/i810/i810_driver.c
+++ b/src/legacy/i810/i810_driver.c
@@ -1694,7 +1694,7 @@ I810ScreenInit(SCREEN_INIT_ARGS_DECL)
if (pI810->LpRing->mem.Size != 0) {
I810SetRingRegs(scrn);
- if (pI810->noAccel && !I810AccelInit(screen)) {
+ if (!pI810->noAccel && !I810AccelInit(screen)) {
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
"Hardware acceleration initialization failed\n");
}