aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-01-26 22:28:11 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-01-26 22:28:11 +0100
commit29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede (patch)
treea6060e809807384d96099df120d0c423d1da09b1 /src/main.c
parentBetter error management (diff)
download42-cub3d-29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede.tar.gz
42-cub3d-29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede.tar.bz2
42-cub3d-29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede.tar.xz
42-cub3d-29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede.tar.zst
42-cub3d-29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede.zip
Can't believe it
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 4d7b341..d80866b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -18,7 +18,7 @@ int
if (ft_init_winlx(wlist) < 0)
return (ft_exit(3, wlist));
mlx_key_hook(wlist->winptr, ft_key_event, wlist);
- ft_drawsquare(wlist, 80, 80);
+ ft_drawsquare(80, 80, wlist->clist->f_color, wlist);
mlx_loop(wlist->wlx);
return (0);
}