Function SDL_InitSubSystem

pub unsafe extern "C" fn SDL_InitSubSystem(flags: u32) -> i32
Available on crate feature dep_sdl2 only.
Expand description

Compatibility function to initialize the SDL library.

In SDL2, this function and SDL_Init() are interchangeable.

\param flags any of the flags used by SDL_Init(); see SDL_Init for details. \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_Init \sa SDL_Quit \sa SDL_QuitSubSystem