aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_death_screen.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 17:55:10 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 17:55:10 +0100
commit4e48d1db8427953cd44a9c7e0db07bd912278166 (patch)
tree92e3c67e03d1ce4a0fa5fcd5184fc27ce7d7ead9 /src/ft_death_screen.c
parentThe screen is there (diff)
download42-cub3d-4e48d1db8427953cd44a9c7e0db07bd912278166.tar.gz
42-cub3d-4e48d1db8427953cd44a9c7e0db07bd912278166.tar.bz2
42-cub3d-4e48d1db8427953cd44a9c7e0db07bd912278166.tar.xz
42-cub3d-4e48d1db8427953cd44a9c7e0db07bd912278166.tar.zst
42-cub3d-4e48d1db8427953cd44a9c7e0db07bd912278166.zip
At least it's there
Diffstat (limited to '')
-rw-r--r--src/ft_death_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_death_screen.c b/src/ft_death_screen.c
index 30bed48..e860c56 100644
--- a/src/ft_death_screen.c
+++ b/src/ft_death_screen.c
@@ -65,8 +65,7 @@ void
mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr,
cl->img.img, 0, 0);
ft_hooks_and_loops(&cl->wlist, cl);
+ sleep(8);
mlx_destroy_image(cl->wlist.wlx, cl->img.img);
mlx_destroy_image(cl->wlist.wlx, cl->death_screen.img);
- while (1)
- sleep(4);
}