diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2019-08-03 09:25:23 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2019-08-03 09:25:23 +0100 |
commit | f23427a39e21b1b613a5582181d8067b54aa645b (patch) | |
tree | 1246cd54109b57e702f3d5c24c6f98612d52bb3c /src/plot/8bpp.c | |
parent | ffc7d20558295fea7a9d48352087822575968a0f (diff) | |
download | libnsfb-f23427a39e21b1b613a5582181d8067b54aa645b.tar.gz libnsfb-f23427a39e21b1b613a5582181d8067b54aa645b.tar.bz2 |
32bpp-xrgb8888: Optimise pixel/colour conversion.
This saves an `&` in the source, but also the compiler spots that
`(c >> 16) | (c << 16)` is a rotation.
Thanks to Adrian Lees.
Diffstat (limited to 'src/plot/8bpp.c')
0 files changed, 0 insertions, 0 deletions