aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_verline.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_draw_verline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_verline.c b/src/ft_draw_verline.c
index 5250dc7..3198357 100644
--- a/src/ft_draw_verline.c
+++ b/src/ft_draw_verline.c
@@ -35,7 +35,7 @@ static void
{
*(int*)(cl->img.ptr +
(x * 4 + (i * cl->img.sizeline)))
- = ft_rgb_to_hex(cl->c_rgb);
+ = ft_darken_rgb(cl->c_rgb, cl);
i++;
}
}