diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-03-01 09:21:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-03-01 09:21:03 +0000 |
commit | 4174c7bb14ea3428d86dc327950e76d0589e0cc4 (patch) | |
tree | c7e987973b4f57a0c19fc6a28efb90ef5d9d68f8 /src | |
parent | e05d2e481434084291503efdb84c944a560d8c29 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index 5d7a1a21..bc1daefd 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -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; |