When unpacking a 16-bit color value to 24 bits, repeat the high bits of each componen...
commit98a90525d83b19277de12e9bf645a1900d4d3200
authorlearman <learman@a1c6a512-1295-4272-9138-f99709370657>
Sun, 11 Nov 2007 21:31:38 +0000 (11 21:31 +0000)
committerlearman <learman@a1c6a512-1295-4272-9138-f99709370657>
Sun, 11 Nov 2007 21:31:38 +0000 (11 21:31 +0000)
tree73ffe1e810b891bb01d4c174c3c8cbeba4cfa612
parent465da0663a25957c8425b19d4a08853e51ec8468
When unpacking a 16-bit color value to 24 bits, repeat the high bits of each component rather than the low bits. This makes the RGB value displayed in the color picker (and in settings files) more accurate. E.g., when using the reported color in a background, it will no longer be dithered.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15589 a1c6a512-1295-4272-9138-f99709370657
firmware/export/lcd.h