SDL_FreeSurface function

SDL_FreeSurface -- Frees (deletes) a SDL_Surface

Syntax

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.

Parameter

surface [in]

Return value

nothing

See also

SDL_CreateRGBSurface, SDL_CreateRGBSurfaceFrom

Requirements

Header

SDL.h

Version

1.2.13

Shared object

libSDL.so

DLL

SDL.dll


CategorySDLVideo

SDL_FreeSurface (last edited 2008-10-03 11:36:25 by NeoNeurone)