Skip to content

Shouldn't SDL_SetMainReady() be used? #154

Description

@cher-nov

https://wiki.libsdl.org/SDL2/SDL_SetMainReady
https://wiki.libsdl.org/SDL3/NonstandardStartup
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().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions