Basically, on surfaces that are going to exist right until the program terminates, do I need to run SDL_FreeSurface()
for each of them, or would SDL_Quit()
take care of all this for me?
I ask mainly because the pointers to a number of my surfaces are class members, and therefore I would need to keep track of each class instance (in a global array or something) if I wanted to run SDL_FreeSurface()
on each of their respective surfaces. If SDL_Quit() will do it all in one fell swoop for me, I'd much rather go with that :D