Is SDL_FreeSurface() equivalent to free() in terms of functionality?
I’m trying to free a bunch of things with different types, and so I think I might be able to free all of them using one function by adding them to a pile of void * cells. My question is: is it safe to save an SDL_Surface* as void * and use the free() function… Read More Is SDL_FreeSurface() equivalent to free() in terms of functionality?