Function SDL_InitSubSystem
pub unsafe extern "C" fn SDL_InitSubSystem(flags: u32) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Compatibility function to initialize the SDL library.
This function and SDL_Init()
are interchangeable.
§Parameters
flags
: any of the flags used bySDL_Init()
; seeSDL_Init
for details.
§Return value
Returns true on success or false on failure; call SDL_GetError()
for more
information.
§Availability
This function is available since SDL 3.2.0.