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>
This commit is contained in:
Chris Wilson 2013-03-03 11:10:51 +00:00
parent ef5edbf616
commit f9f2b5152f
1 changed files with 1 additions and 1 deletions

View File

@ -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;