diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-02 12:03:53 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-02 12:03:53 +0100 |
commit | b61ae94ba515c8980f9e8f830013bbe894323990 (patch) | |
tree | ce7e795f1995d46c984067396c8aaf53b389daf1 /src | |
parent | 50a4e190b4456f342f3106d8e0cc5087f4e2ea6c (diff) |
src/bitmask: reformat
Diffstat (limited to 'src')
-rw-r--r-- | src/anim-atlas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anim-atlas.cpp b/src/anim-atlas.cpp index 27051db7..434f34b6 100644 --- a/src/anim-atlas.cpp +++ b/src/anim-atlas.cpp @@ -145,7 +145,7 @@ void anim_atlas::make_bitmask_(const ImageView2D& tex, BitArray& array) auto i = 0_uz; for (; i < width0; i += 8) { - const auto src_idx = (j*stride + i*4)+3, dst_idx = (height-j-1)*width + i>>3; + const auto src_idx = (j*stride + i*4)+3, dst_idx = (height-j-1)*width+i >> 3; const unsigned char* buf = data + src_idx; auto value = (unsigned char)( (unsigned char)(buf[0*4] >= amin) << 0 | |