aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-01-27 20:22:14 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-01-27 20:22:14 +0100
commit0978388f4ae8f78c53ade14db1d5c1c8819e4310 (patch)
tree35b795404f3642fe60d7ee9cffb284f608b73cd8 /src/main.c
parentAdded @ (diff)
download42-cub3d-0978388f4ae8f78c53ade14db1d5c1c8819e4310.tar.gz
42-cub3d-0978388f4ae8f78c53ade14db1d5c1c8819e4310.tar.bz2
42-cub3d-0978388f4ae8f78c53ade14db1d5c1c8819e4310.tar.xz
42-cub3d-0978388f4ae8f78c53ade14db1d5c1c8819e4310.tar.zst
42-cub3d-0978388f4ae8f78c53ade14db1d5c1c8819e4310.zip
Nice map drawing
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index bca23ce..8c4ecb9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -22,7 +22,7 @@ int
if (ft_init_winlx(clist) < 0)
return (ft_exit(3, clist));
mlx_key_hook(clist->wlist->winptr, ft_key_event, clist);
- ft_drawsquare(80, 80, clist->f_color, clist);
+ ft_drawmap(clist);
mlx_loop(clist->wlist->wlx);
return (0);
}