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:
Adam Jackson 2010-09-27 17:06:46 -04:00 committed by Keith Packard
parent 5c6a2f93eb
commit 9df4fb0adf

View File

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