sna: Use depth-15 rather than depth-16 for reduced bw devices
Keeping the number of bits identical between the RGB channels helps prevent discoloration. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
e05d2e4814
commit
4174c7bb14
|
|
@ -512,7 +512,7 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags)
|
|||
|
||||
flags24 = Support32bppFb | PreferConvert24to32 | SupportConvert24to32;
|
||||
|
||||
preferred_depth = sna->info->gen < 040 ? 16 : 24;
|
||||
preferred_depth = sna->info->gen < 040 ? 15 : 24;
|
||||
if (!xf86SetDepthBpp(scrn, preferred_depth, 0, 0, flags24))
|
||||
return FALSE;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue