mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Removed SDL_MAIN_AVAILABLE on platforms that don't benefit from it
We already set the main thread when creating a thread or calling SDL_Init(), and applications can call SDL_SetMainReady() themselves for special cases, so there isn't a lot of value of forcing everyone through the SDL_RunApp() flow. Fixes https://github.com/libsdl-org/SDL/issues/14580
This commit is contained in:
parent
36b85ce909
commit
f97e53509e
1 changed files with 0 additions and 9 deletions
|
|
@ -228,15 +228,6 @@
|
|||
*/
|
||||
#define SDL_MAIN_AVAILABLE
|
||||
|
||||
#else
|
||||
/*
|
||||
This platform SDL provides a main function that sets up the main
|
||||
thread and calls your main function.
|
||||
|
||||
If you provide this yourself, you may define SDL_MAIN_HANDLED
|
||||
*/
|
||||
#define SDL_MAIN_AVAILABLE
|
||||
|
||||
#endif
|
||||
#endif /* SDL_MAIN_HANDLED */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue