Files
42_INT_10_cube3d/srcs/hook/key_do_action.c

10 lines
141 B
C

#include "cube3d.h"
int shut_down(t_game *game)
{
mlx_destroy_window(game->mlx_ptr, game->win_ptr);
exit(0);
free(game);
return (0);
}