mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-03-06 22:10:37 +01:00
xfree86: Add 18bpp support
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 9df4fb0adf)
This commit is contained in:
parent
5ae0c0cdb2
commit
560e425499
1 changed files with 3 additions and 0 deletions
|
|
@ -776,6 +776,9 @@ xf86SetWeight(ScrnInfoPtr scrp, rgb weight, rgb mask)
|
|||
scrp->weight.red = scrp->weight.blue = 5;
|
||||
scrp->weight.green = 6;
|
||||
break;
|
||||
case 18:
|
||||
scrp->weight.red = scrp->weight.green = scrp->weight.blue = 6;
|
||||
break;
|
||||
case 24:
|
||||
scrp->weight.red = scrp->weight.green = scrp->weight.blue = 8;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue