main: SDL_AppQuit() now reports the result value.

Fixes #10994.
This commit is contained in:
Ryan C. Gordon committed 2024-09-29 23:24:04 -04:00
1 parent 6a7f8b74f1
commit 1787d6ca5c
37 files changed
+48 -42

No files matched your search

@@ -92,7 +92,7 @@ SDL_AppResult SDL_AppIterate(void *appstate)
}
/* This function runs once at shutdown. */
void SDL_AppQuit(void *appstate)
void SDL_AppQuit(void *appstate, SDL_AppResult result)
{
/* SDL will clean up the window/renderer for us. */
}
@@ -104,7 +104,7 @@ SDL_AppResult SDL_AppIterate(void *appstate)
}
/* This function runs once at shutdown. */
void SDL_AppQuit(void *appstate)
void SDL_AppQuit(void *appstate, SDL_AppResult result)
{
/* SDL will clean up the window/renderer for us. */
}
+1 -1
View File
@@ -93,7 +93,7 @@ SDL_AppResult SDL_AppIterate(void *appstate)
}
/* This function runs once at shutdown. */
void SDL_AppQuit(void *appstate)
void SDL_AppQuit(void *appstate, SDL_AppResult result)
{
SDL_free(wav_data); /* strictly speaking, this isn't necessary because the process is ending, but it's good policy. */
/* SDL will clean up the window/renderer for us. */