SDL_Quit (3) Linux Manual Page
SDL_Quit – Shut down SDL Synopsis#include "SDL.h" void SDL_Quit(void); DescriptionSDL_Quit shuts down all SDL subsystems and frees the resources allocated to them. This should always be called before you exit. For the sake of simplicity you can set SDL_Quit as your atexit call, like: SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO); atexit(SDL_Quit); . .Note: While using atexit maybe be fine for…
