Function sdl2_sys::SDL_InitSubSystem
source ยท pub unsafe extern "C" fn SDL_InitSubSystem(flags: Uint32) -> c_int
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