add_noise_rand wants mutable arg

This commit is contained in:
Waveplate 2024-11-02 18:37:06 -07:00
parent 7da30473e4
commit 8ee21c35c3

View File

@ -103,7 +103,7 @@ pub fn apply_effects(
// Adjust noise // Adjust noise
if args.noise { if args.noise {
noise::add_noise_rand(photon_image.clone()); noise::add_noise_rand(&mut photon_image);
} }
// Adjust sharpen // Adjust sharpen