SDL_QuitSubSystem

Shut down specific SDL subsystems.

Header File

Defined in <SDL3/SDL_init.h>

Syntax

void SDL_QuitSubSystem(SDL_InitFlags flags);

Function Parameters

SDL_InitFlags flags any of the flags used by SDL_Init(); see SDL_Init for details.

Remarks

You still need to call SDL_Quit() even if you close all open subsystems with SDL_QuitSubSystem().

Version

This function is available since SDL 3.2.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryInit