SDL_FreeSurface(3) SDL API Reference SDL_FreeSurface(3)
NAMESDL_FreeSurface - Frees (deletes) a SDL_Surface
SYNOPSIS#include "SDL.h" void SDL_FreeSurface(SDL_Surface *surface);
DESCRIPTIONFrees the resources used by a previously created SDL_Surface. If the surface was created using SDL_CreateRGBSurfaceFrom then the pixel data is not freed.
SEE ALSOSDL_CreateRGBSurface SDL_CreateRGBSurfaceFrom SDL Tue 11 Sep 2001, 23:01 SDL_FreeSurface(3)