sdlQuit function
void
sdlQuit()
Clean up all initialized subsystems.
You should call this function even if you have already shutdown each initialized subsystem with SDL_QuitSubSystem(). It is safe to call this function even in the case of errors in initialization.
You can use this function with atexit() to ensure that it is run when your application is shutdown, but it is not wise to do this from a library or other dynamically loaded code.
\since This function is available since SDL 3.1.3.
\sa SDL_Init \sa SDL_QuitSubSystem
extern SDL_DECLSPEC void SDLCALL SDL_Quit(void)
Implementation
void sdlQuit() {
final sdlQuitLookupFunction =
libSdl3.lookupFunction<Void Function(), void Function()>('SDL_Quit');
return sdlQuitLookupFunction();
}