Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_ConvertSurface(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_!ConvertSurface !!!SDL_!ConvertSurface NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO ---- !!NAME SDL_!ConvertSurface- Converts a surface to the same format as another surface. !!SYNOPSIS __#include __ __SDL_Surface *SDL_!ConvertSurface__(__SDL_Surface *src, SDL_!PixelFormat *fmt, Uint32 flags__); !!DESCRIPTION Creates a new surface of the specified format, and then copies and maps the given surface to it. If this function fails, it returns __NULL__. The __flags__ parameter is passed to __SDL_CreateRGBSurface__ and has those semantics. This function is used internally by __SDL_!DisplayFormat__. !!RETURN VALUE Returns either a pointer to the new surface, or __NULL__ on error. !!SEE ALSO __SDL_CreateRGBSurface__, __SDL_!DisplayFormat__, __SDL_!PixelFormat__, __SDL_Surface__ ----
One page links to
SDL_ConvertSurface(3)
:
SDLManPages
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.