From b61ae94ba515c8980f9e8f830013bbe894323990 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 2 Mar 2023 12:03:53 +0100 Subject: src/bitmask: reformat --- src/anim-atlas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 | -- cgit v1.2.3