diff options
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,8 +11,9 @@ int wlist = ft_init_win(); clist = ft_init_cub(); + ft_parse_map(wlist, clist, "map/map_one.cub"); mlx_key_hook(wlist->winptr, ft_key_event, wlist); - ft_drawsquare(wlist, 80, 80); + ft_drawsquare(wlist, clist, 80, 80); mlx_loop(wlist->wlx); ft_memdel(clist); return (0); |