add init textures

This commit is contained in:
hugogogo
2022-05-02 16:11:54 +02:00
parent a6fd2df6d5
commit 628a0c0cad
9 changed files with 113 additions and 75 deletions

View File

@@ -44,7 +44,6 @@ int main(int ac, char **av)
// receive event when clicking the red button to close the window
mlx_hook(game->win.ptr, 17, 1L << 17, shut_down, NULL);
// infinite loop that waits for events to occurs
mlx_loop_hook(game->mlx_ptr, hook_action, game);
mlx_loop(game->mlx_ptr);
return (0);