Rename pixel_swizzler.swizzle_interleaved

This commit is contained in:
Nigel Tao committed 2020-05-29 16:54:05 +10:00
1 parent 6537a817b7
commit 54196c4e80
10 files changed
+37 -34

No files matched your search

+1 -1
View File
@@ -212,7 +212,7 @@ pub func decoder.decode_frame?(dst: ptr base.pixel_buffer, src: base.io_reader,
// v_c <<= 1;
c = (((c as base.u32) << 1) & 0xFF) as base.u8
this.swizzler.swizzle_interleaved!(
this.swizzler.swizzle_interleaved_from_slice!(
dst: dst, dst_palette: this.util.empty_slice_u8(), src: src[..])
if dst_bytes_per_pixel <= dst.length() {