Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
SDL_ConvertSurface(3) | SDL API Reference | SDL_ConvertSurface(3) |
NAME
SDL_ConvertSurface - Converts a surface to the same format as another surface.SYNOPSIS
#include "SDL/SDL.h"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.RETURN VALUE
Returns either a pointer to the new surface, or NULL on error.SEE ALSO
SDL_CreateRGBSurface, SDL_DisplayFormat, SDL_PixelFormat, SDL_SurfaceTue 11 Sep 2001, 23:01 | SDL |