Ubuntu Manpages

SDL_InitSubSystem

Compatibility function to initialize the SDL library.

#include <SDL3/SDL_init.h>
bool SDL_InitSubSystem(SDL_InitFlags flags);

This function and SDL_Init() are interchangeable.

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.

This function should only be called on the main thread.

This function is available since SDL 3.2.0.

SDL_Init(3), SDL_Quit(3), SDL_QuitSubSystem(3)