diff options
Diffstat (limited to 'src/ft_death_screen.c')
-rw-r--r-- | src/ft_death_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_death_screen.c b/src/ft_death_screen.c index 16d75d5..cc299d1 100644 --- a/src/ft_death_screen.c +++ b/src/ft_death_screen.c @@ -71,7 +71,7 @@ void ft_calc_death_screen(cl); mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, cl->img.img, 0, 0); - /* mlx_destroy_image(cl->wlist.wlx, cl->death_screen.img); */ - /* mlx_destroy_image(cl->wlist.wlx, cl->img.img); */ + mlx_destroy_image(cl->wlist.wlx, cl->img.img); + mlx_destroy_image(cl->wlist.wlx, cl->death_screen.img); ft_death_hooks(&cl->wlist, cl); } |