Shut down specific SDL subsystems.
Defined in <SDL3/SDL_init.h>
void SDL_QuitSubSystem(SDL_InitFlags flags);
SDL_InitFlags | flags | any of the flags used by SDL_Init(); see SDL_Init for details. |
You still need to call SDL_Quit() even if you close all open subsystems with SDL_QuitSubSystem().
This function is available since SDL 3.1.3.