diff options
Diffstat (limited to 'src/ft_del_tex.c')
-rw-r--r-- | src/ft_del_tex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ft_del_tex.c b/src/ft_del_tex.c index 55eff72..07265fa 100644 --- a/src/ft_del_tex.c +++ b/src/ft_del_tex.c @@ -77,6 +77,10 @@ static void mlx_destroy_image(cl->wlist.wlx, cl->tlist[19].img); if (cl->tlist[20].img) mlx_destroy_image(cl->wlist.wlx, cl->tlist[20].img); + if (cl->tlist[21].img) + mlx_destroy_image(cl->wlist.wlx, cl->tlist[21].img); + if (cl->tlist[22].img) + mlx_destroy_image(cl->wlist.wlx, cl->tlist[22].img); } void |