aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_suffer_animation.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_suffer_animation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_suffer_animation.c b/src/ft_suffer_animation.c
index 51de24a..1b48e47 100644
--- a/src/ft_suffer_animation.c
+++ b/src/ft_suffer_animation.c
@@ -75,7 +75,7 @@ void
rgb.g += 20;
rgb.b += 20;
*(int*)(cl->img.ptr +
- (x * 4 + (y * cl->img.sizeline))) = ft_rgb_to_hex(rgb);
+ (x * 4 + (y * cl->img.sizeline))) = ft_rgb_to_hex(0, rgb, cl);
}
}
ft_get_damaged(cl);