mirror of
https://github.com/waveplate/img2irc.git
synced 2024-11-05 07:16:42 +00:00
add_noise_rand wants mutable arg
This commit is contained in:
parent
7da30473e4
commit
8ee21c35c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user