Unify all the SDL_*RunApp() functions into just SDL_RunApp()

makes the SDL_main code shorter

Also added a generic SDL_RunApp() implementation for platforms that
don't really need it.

Some platforms (that use SDL_main but haven't been ported yet) are
still missing, but are added in the following commits.
This commit is contained in:
Daniel Gibson
2022-12-15 06:01:34 +01:00
committed by Sam Lantinga
parent 1de559248e
commit 7bfc41db3c
14 changed files with 106 additions and 130 deletions

View File

@@ -1,7 +1,7 @@
/*
SDL_windows_main.c, placed in the public domain by Sam Lantinga 4/13/98
Nothing to do here, the code moved into SDL_main_impl.h and SDL_windows.c (SDL_Win32RunApp())
Nothing to do here, the code moved into SDL_main_impl.h and SDL_windows.c (SDL_RunApp())
TODO: remove this file
*/