fail on offscreen hardware surfaces
[sdl_omap.git] / docs / man3 / SDL_FreeSurface.3
CommitLineData
e14743d1 1.TH "SDL_FreeSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
2.SH "NAME"
3SDL_FreeSurface \- Frees (deletes) a SDL_Surface
4.SH "SYNOPSIS"
5.PP
6\fB#include "SDL\&.h"
7.sp
8\fBvoid \fBSDL_FreeSurface\fP\fR(\fBSDL_Surface *surface\fR);
9.SH "DESCRIPTION"
10.PP
11Frees the resources used by a previously created \fBSDL_Surface\fR\&. If the surface was created using \fISDL_CreateRGBSurfaceFrom\fR then the pixel data is not freed\&.
12.SH "SEE ALSO"
13.PP
14\fI\fBSDL_CreateRGBSurface\fP\fR \fI\fBSDL_CreateRGBSurfaceFrom\fP\fR
15.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01