summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2007-11-11 21:31:38 +0000
committerMagnus Holmgren <magnushol@gmail.com>2007-11-11 21:31:38 +0000
commit56b8e99c10517622f640aae30a8582b6947377ce (patch)
tree73ffe1e810b891bb01d4c174c3c8cbeba4cfa612 /firmware/target/coldfire
parente71bc67d94599be70da6f79365e765ea02d6b698 (diff)
downloadrockbox-56b8e99c10517622f640aae30a8582b6947377ce.tar.gz
rockbox-56b8e99c10517622f640aae30a8582b6947377ce.zip
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
Diffstat (limited to 'firmware/target/coldfire')
0 files changed, 0 insertions, 0 deletions