https://wiki.libsdl.org/SDL2/SDL_SetMainReady
SDL2 wiki advises using this function before calling SDL_Init() to prevent startup failures on some platforms when program entry point is not managed by SDL library. This is exactly the case of these bindings, as they never assume SDL_main().
https://wiki.libsdl.org/SDL2/SDL_SetMainReady
SDL2 wiki advises using this function before calling
SDL_Init()to prevent startup failures on some platforms when program entry point is not managed by SDL library. This is exactly the case of these bindings, as they never assumeSDL_main().