* removed unnecessary conditions * optimized bit-shifting logic * use uint16_t for colors, to prevent the compiler from using 64bit integer
41 KiB
41 KiB
* removed unnecessary conditions * optimized bit-shifting logic * use uint16_t for colors, to prevent the compiler from using 64bit integer