log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
sdl-ios-xcode
annotate docs/man3/SDL_FreeSurface.3 @ 9:
a1c15fa4abb9
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
Fixed memory leak in software YUV stretch code
author
Sam Lantinga <slouken@lokigames.com>
date
Fri, 27 Apr 2001 20:25:25 +0000 (2001-04-27)
parents
74212992fb08
children
55f1f1b3e27d
rev
line source
0
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
1
.TH "SDL_FreeSurface" "3" "Mon 12 Mar 2001, 01:04" "SDL" "SDL API Reference"
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
2
.SH "NAME"
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
3
SDL_FreeSurface\- Frees (deletes) and SDL_Surface
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
4
.SH "SYNOPSIS"
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
5
.PP
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
6
\fB#include "SDL\&.h"
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
7
.sp
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
8
\fBvoid \fBSDL_FreeSurface\fP\fR(\fBSDL_Surface *surface\fR);
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
9
.SH "DESCRIPTION"
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
10
.PP
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
11
Frees 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\&.
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
12
.SH "SEE ALSO"
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
13
.PP
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
14
\fI\fBSDL_CreateRGBSurface\fP\fR \fI\fBSDL_CreateRGBSurfaceFrom\fP\fR
74212992fb08
Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff
changeset
+
−
15
...\" created by instant / docbook-to-man, Mon 12 Mar 2001, 01:04