aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_drawmap.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-04 20:27:37 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-04 20:27:37 +0100
commit72c24e8e0985b375c572e98446b1dd9fe49464cc (patch)
tree9c3b57358466fbd720cdf5116b92371cf6b57b2d /src/ft_drawmap.c
parentnew func (diff)
download42-cub3d-72c24e8e0985b375c572e98446b1dd9fe49464cc.tar.gz
42-cub3d-72c24e8e0985b375c572e98446b1dd9fe49464cc.tar.bz2
42-cub3d-72c24e8e0985b375c572e98446b1dd9fe49464cc.tar.xz
42-cub3d-72c24e8e0985b375c572e98446b1dd9fe49464cc.tar.zst
42-cub3d-72c24e8e0985b375c572e98446b1dd9fe49464cc.zip
Ok colors
Diffstat (limited to 'src/ft_drawmap.c')
-rw-r--r--src/ft_drawmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_drawmap.c b/src/ft_drawmap.c
index d5c545a..0380f2d 100644
--- a/src/ft_drawmap.c
+++ b/src/ft_drawmap.c
@@ -35,7 +35,7 @@ static void
0x0033ccff, clist);
else
ft_drawsquare(40 + (x * 41), 40 + (y * 41),
- clist->f_color, clist);
+ ft_rgb_to_hex(clist->f_rgb), clist);
x++;
}
x = 0;