diff options
author | rodri <rgl@antares-labs.eu> | 2024-10-03 09:28:18 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-10-03 09:28:18 +0000 |
commit | 91dfb6853d7b6d7ae49f54488b89e0eb73b5ff01 (patch) | |
tree | 2e9e74bcb7fd1eb7a800eda1f2b88b3c489359c8 /fb.c | |
parent | 0abc1ca44de64a689f5877e4b7e194c43a1ddcd8 (diff) | |
download | libgraphics-91dfb6853d7b6d7ae49f54488b89e0eb73b5ff01.tar.gz libgraphics-91dfb6853d7b6d7ae49f54488b89e0eb73b5ff01.tar.bz2 libgraphics-91dfb6853d7b6d7ae49f54488b89e0eb73b5ff01.zip |
fb: unnecessary shift.
Diffstat (limited to 'fb.c')
-rw-r--r-- | fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ rasterconvF2C(Raster *dst, Raster *src) continue; } b = (*f++ - min)/max * 0xFF; - *c++ = (b * 0x00010101)<<8 | 0xFF; + *c++ = (b * 0x01010100) | 0xFF; } } |