add init textures
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user