Name

SDL_FreeSurface — Frees (deletes) a SDL_Surface

Synopsis

#include "SDL.h"
void SDL_FreeSurface( SDL_Surface *  surface);

DESCRIPTION

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

SDL_CreateRGBSurface(3) SDL_CreateRGBSurfaceFrom(3)

COPYRIGHT

This manual page is taken from the SDL library, licensed under GNU LGPL.