summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-03-03 11:10:51 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-03-03 11:10:51 +0000
commitf9f2b5152f988d4b15f773354f3fadaff02cd3d7 (patch)
tree73b222a7a19ef3749052d949d78c5524ff88fece
parentef5edbf61686388126e62ce360a66dd8652b2493 (diff)
sna: Undo preferred depth for gen3
Mesa is buggy. Qt is buggy. Everything is buggy. References: https://bugs.freedesktop.org/show_bug.cgi?id=61441 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 8e32c5fe..83cda8ce 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -547,7 +547,7 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags)
flags24 = Support32bppFb | PreferConvert24to32 | SupportConvert24to32;
- preferred_depth = sna->info->gen < 040 ? 15 : 24;
+ preferred_depth = sna->info->gen < 030 ? 15 : 24;
if (!fb_supports_depth(fd, preferred_depth))
preferred_depth = 24;