From 9a7f30050f8efc52340e698031a7a55a105e72c4 Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Sun, 30 Aug 2026 21:15:00 +0200 Subject: Use as_chunks for fixed-size pixel iteration --- crates/wayland/src/icon_theme.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/wayland/src/icon_theme.rs') diff --git a/crates/wayland/src/icon_theme.rs b/crates/wayland/src/icon_theme.rs index eaecdad..0fdfec7 100644 --- a/crates/wayland/src/icon_theme.rs +++ b/crates/wayland/src/icon_theme.rs @@ -214,7 +214,7 @@ pub(crate) fn rasterize_svg(path: &Path, width: u32, height: u32) -> Option().0.iter_mut().zip(rgba.as_chunks::<4>().0) { dst[0] = src[2]; dst[1] = src[1]; dst[2] = src[0]; -- cgit v1.2.3