Skip to main content

SDL_InitSubSystem

Function SDL_InitSubSystem 

Source
pub unsafe extern "C" fn SDL_InitSubSystem(
    flags: SDL_InitFlags,
) -> bool
Expand description

Compatibility function to initialize the SDL library.

This function and SDL_Init() are interchangeable.

Parameter: flags any of the flags used by SDL_Init(); see SDL_Init for details. Returns: true on success or false on failure; call SDL_GetError() for more information.

Thread Safety: This function should only be called on the main thread.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_Init See Also: SDL_Quit See Also: SDL_QuitSubSystem