diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-28 16:01:25 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-28 16:01:25 +0100 |
commit | 1b3cf4e3ce43e556ef47c669511620815b747221 (patch) | |
tree | be53e93d6fd39578ce71e82502c1289aac98e819 /src/ft_init_winlx.c | |
parent | Everything is terrible but this might work (diff) | |
download | 42-cub3d-1b3cf4e3ce43e556ef47c669511620815b747221.tar.gz 42-cub3d-1b3cf4e3ce43e556ef47c669511620815b747221.tar.bz2 42-cub3d-1b3cf4e3ce43e556ef47c669511620815b747221.tar.xz 42-cub3d-1b3cf4e3ce43e556ef47c669511620815b747221.tar.zst 42-cub3d-1b3cf4e3ce43e556ef47c669511620815b747221.zip |
I understood
Diffstat (limited to '')
-rw-r--r-- | src/ft_init_winlx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_init_winlx.c b/src/ft_init_winlx.c index 931e19b..ff42e69 100644 --- a/src/ft_init_winlx.c +++ b/src/ft_init_winlx.c @@ -16,6 +16,7 @@ ft_init_winlx(t_cub *clist) if (!(clist->wlist->winptr = mlx_new_window(clist->wlist->wlx, clist->wlist->x_size, clist->wlist->y_size, "Cub3D"))) return (-1); + clist->wlist->inited = 1; ft_printf("Created window of size %dx%d\n", clist->wlist->x_size, clist->wlist->y_size); return (0); |