diff --git a/miniRT b/miniRT new file mode 100755 index 0000000..4fd182c Binary files /dev/null and b/miniRT differ diff --git a/peripherique.c b/peripherique.c index b85bc59..cf98b63 100644 --- a/peripherique.c +++ b/peripherique.c @@ -6,7 +6,7 @@ /* By: yantoine +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/02/17 19:22:27 by yantoine #+# #+# */ -/* Updated: 2025/02/25 19:06:52 by yantoine ### ########.fr */ +/* Updated: 2025/02/25 19:40:54 by yantoine ### ########.fr */ /* */ /* ************************************************************************** */ @@ -22,7 +22,6 @@ int key_press(int keycode, t_app *app) mlx_destroy_window(app->mlx, app->win); mlx_destroy_display(app->mlx); free(app->mlx); - free(app->scene.all_file); exit(0); } return (0); @@ -36,8 +35,6 @@ int handle_close(void *param) mlx_destroy_image(app->mlx, app->img); mlx_destroy_window(app->mlx, app->win); mlx_destroy_display(app->mlx); - ft_free_array(app->scene.all_file); - free(app->scene.all_file); free(app->mlx); exit(0); return (0);