1SDL_FreeSurface(3) SDL API Reference SDL_FreeSurface(3)
23
4
NAME
6SDL_FreeSurface- Frees (deletes) a SDL_Surface
7
SYNOPSIS
9#include "SDL.h"
1011
void SDL_FreeSurface(SDL_Surface *surface);
12
DESCRIPTION
14Frees the resources used by a previously created SDL_Surface. If the
15surface was created using SDL_CreateRGBSurfaceFrom then the pixel data
16is not freed.
17
SEE ALSO
19SDL_CreateRGBSurface SDL_CreateRGBSurfaceFrom
2021
22
23
SDL Tue 11 Sep 2001, 23:01 SDL_FreeSurface(3)