summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2009-05-26 17:21:07 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-05-26 17:21:07 -0400
commit1457bc089d1395d18cf582a4d52444005f013753 (patch)
tree064c55d1877f47778804d8eb73fe8f2f12cadb64
parent4079f97958cf1d5fd76a83aa61b93d6289bb9b1e (diff)
radeon: fix segfault if Option "NoAccel" is set
-rw-r--r--src/radeon_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 8a2a978e..9a1d4d7f 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2145,6 +2145,9 @@ static Bool RADEONPreInitAccel(ScrnInfoPtr pScrn)
}
}
#endif /* USE_XAA */
+ } else {
+ /* NoAccel */
+ info->useEXA = FALSE;
}
return TRUE;