diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-04 22:17:00 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-04 22:17:00 +0100 |
commit | c187c1d554a79dcfd257dfd2885a0f04d9b2dc42 (patch) | |
tree | 4b25a0ec285d270ffd01793a0b21a5cf6abe2356 | |
parent | Weird bug fix (diff) | |
download | 42-cub3d-c187c1d554a79dcfd257dfd2885a0f04d9b2dc42.tar.gz 42-cub3d-c187c1d554a79dcfd257dfd2885a0f04d9b2dc42.tar.bz2 42-cub3d-c187c1d554a79dcfd257dfd2885a0f04d9b2dc42.tar.xz 42-cub3d-c187c1d554a79dcfd257dfd2885a0f04d9b2dc42.tar.zst 42-cub3d-c187c1d554a79dcfd257dfd2885a0f04d9b2dc42.zip |
Fix
-rw-r--r-- | src/ft_drawmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_drawmap.c b/src/ft_drawmap.c index 4d78426..67c6d34 100644 --- a/src/ft_drawmap.c +++ b/src/ft_drawmap.c @@ -59,9 +59,9 @@ void clist->wlist->x_size, clist->wlist->y_size); clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp, &clist->img.sizeline, &clist->img.endian); + /* mlx_clear_window(clist->wlist->wlx, clist->wlist->winptr); */ ft_draw_core_map(clist->map, clist); ft_draw_player(clist->plist, clist); - /* mlx_clear_window(clist->wlist->wlx, clist->wlist->winptr); */ mlx_put_image_to_window(clist->wlist->wlx, clist->wlist->winptr, clist->img.img, 0, 0); mlx_destroy_image(clist->wlist->wlx, clist->img.img); |