clippy: fix

This commit is contained in:
Nova
2025-07-08 12:12:46 -07:00
parent 5a042bf11c
commit e9078bfaf8

View File

@@ -65,7 +65,7 @@ impl ShmBufferBacking {
}
let dst_data = images.get_mut(image).unwrap().data.get_or_insert_with(|| {
let length = self.size.x as usize * self.size.y as usize * 4;
let length = self.size.x * self.size.y * 4;
vec![255; length]
});
let mut dst_cursor = 0;