Penguin
Blame: SDL_ConvertSurface(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_ConvertSurface(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!ConvertSurface
2 !!!SDL_!ConvertSurface
1 perry 3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 SEE ALSO
8 ----
9 !!NAME
10
11
2 perry 12 SDL_!ConvertSurface- Converts a surface to the same format as another surface.
1 perry 13 !!SYNOPSIS
14
15
16 __#include __
17
18
2 perry 19 __SDL_Surface *SDL_!ConvertSurface__(__SDL_Surface *src,
20 SDL_!PixelFormat *fmt, Uint32 flags__);
1 perry 21 !!DESCRIPTION
22
23
24 Creates a new surface of the specified format, and then
25 copies and maps the given surface to it. If this function
26 fails, it returns __NULL__.
27
28
29 The __flags__ parameter is passed to
30 __SDL_CreateRGBSurface__ and has those
31 semantics.
32
33
34 This function is used internally by
2 perry 35 __SDL_!DisplayFormat__.
1 perry 36 !!RETURN VALUE
37
38
39 Returns either a pointer to the new surface, or __NULL__
40 on error.
41 !!SEE ALSO
42
43
2 perry 44 __SDL_CreateRGBSurface__, __SDL_!DisplayFormat__,
45 __SDL_!PixelFormat__, __SDL_Surface__
1 perry 46 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.