diff options
Diffstat (limited to 'src/components.rs')
-rw-r--r-- | src/components.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components.rs b/src/components.rs index 932aac3..99bf946 100644 --- a/src/components.rs +++ b/src/components.rs @@ -10,7 +10,7 @@ use bevy::{ pub struct DitherPostProcessSettings(Handle<Image>); impl DitherPostProcessSettings { - pub fn new(level: u32, mut images: ResMut<Assets<Image>>) -> Self { + pub fn new(level: u32,images: &mut ResMut<Assets<Image>>) -> Self { let power = level + 1; let map_size: u32 = 1 << power; let mut buffer = Vec::<u8>::new(); |