mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
Fix ifs clang-format didn’t get
This commit is contained in:
@ -29,8 +29,7 @@ void CColorConverter::convert1BitTo16Bit(const u8 *in, s16 *out, s32 width, s32
|
||||
for (s32 x = 0; x < width; ++x) {
|
||||
out[x] = *in >> shift & 0x01 ? (s16)0xffff : (s16)0x8000;
|
||||
|
||||
if ((--shift) < 0) // 8 pixel done
|
||||
{
|
||||
if ((--shift) < 0) { // 8 pixel done
|
||||
shift = 7;
|
||||
++in;
|
||||
}
|
||||
|
Reference in New Issue
Block a user