aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_scene.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-02-14 23:14:29 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-02-14 23:14:29 +0100
commitd94b7a155935bb09dc9cd0b2b731d67906a6067a (patch)
tree67df3994de16ea751e1fe1ada8614ce7700104ff /src/ft_draw_scene.c
parentGood player spawn view for N and S, minimap bot left StarCraft style (diff)
download42-cub3d-d94b7a155935bb09dc9cd0b2b731d67906a6067a.tar.gz
42-cub3d-d94b7a155935bb09dc9cd0b2b731d67906a6067a.tar.bz2
42-cub3d-d94b7a155935bb09dc9cd0b2b731d67906a6067a.tar.xz
42-cub3d-d94b7a155935bb09dc9cd0b2b731d67906a6067a.tar.zst
42-cub3d-d94b7a155935bb09dc9cd0b2b731d67906a6067a.zip
Fixed
Diffstat (limited to 'src/ft_draw_scene.c')
-rw-r--r--src/ft_draw_scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c
index ec2cc89..966d357 100644
--- a/src/ft_draw_scene.c
+++ b/src/ft_draw_scene.c
@@ -18,7 +18,7 @@
void
ft_draw_scene(t_cub *clist)
{
- mlx_clear_window(clist->wlist->wlx, clist->wlist->winptr);
+ /* mlx_clear_window(clist->wlist->wlx, clist->wlist->winptr); */
clist->img.img = mlx_new_image(clist->wlist->wlx,
clist->wlist->x_size, clist->wlist->y_size);
clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp,