Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:01Index
Return to Main Contents
SDL_FreeSurface - Frees (deletes) a SDL_Surface
void SDL_FreeSurface(SDL_Surface *surface);
Frees 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 ALSO