aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 3b644dc..c17a42e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -237,8 +237,7 @@ int main(int argc, char *argv[]) {
}
- render_shutdown(game->render);
- SDL_CloseAudio();
+ game_shutdown(game);
SDL_Quit();
//printf("\n");