[SDL] Importance of SDL_Quit()

Ryan C. Gordon icculus at icculus.org
Sat Jul 23 14:31:06 PDT 2011


> Is SDL_Quit() important if called right before the program exits?? if
> so, why?
> Cant we let the OS just clean up and unload the things that we loaded?

On some platforms (X11, fbcon), if you have a fullscreen video mode and 
don't call SDL_Quit(), the video mode will not be returned to normal 
upon program exit.

--ryan.




More information about the SDL mailing list