diff --git a/src/effects.rs b/src/effects.rs index 7734454..4103bb0 100644 --- a/src/effects.rs +++ b/src/effects.rs @@ -103,7 +103,7 @@ pub fn apply_effects( // Adjust noise if args.noise { - noise::add_noise_rand(photon_image.clone()); + noise::add_noise_rand(&mut photon_image); } // Adjust sharpen