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>
This commit is contained in:
parent
5c6a2f93eb
commit
9df4fb0adf
|
@ -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…
Reference in New Issue
Block a user