mirror of
https://github.com/waveplate/img2irc.git
synced 2024-11-24 08:26:40 +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
|
// 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
|
||||||
|
Loading…
Reference in New Issue
Block a user