mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-02-24 12:56:58 +00:00
Sync wiki -> header
This commit is contained in:
parent
ad310d3900
commit
5346cf842c
|
@ -388,9 +388,12 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasSurfaceRLE(SDL_Surface * surface);
|
||||||
/**
|
/**
|
||||||
* Set the color key (transparent pixel) in a surface.
|
* Set the color key (transparent pixel) in a surface.
|
||||||
*
|
*
|
||||||
* E.g. Set cyan pixals to transparentThe color key defines a pixel value that
|
* The color key defines a pixel value that will be treated as transparent in
|
||||||
* will be treated as transparent in a blit. It is a pixel of the format used
|
* a blit. For example, one can use this to specify that cyan pixels should be
|
||||||
* by the surface, as generated by SDL_MapRGB().
|
* considered transparent, and therefore not rendered.
|
||||||
|
*
|
||||||
|
* It is a pixel of the format used by the surface, as generated by
|
||||||
|
* SDL_MapRGB().
|
||||||
*
|
*
|
||||||
* RLE acceleration can substantially speed up blitting of images with large
|
* RLE acceleration can substantially speed up blitting of images with large
|
||||||
* horizontal runs of transparent pixels. See SDL_SetSurfaceRLE() for details.
|
* horizontal runs of transparent pixels. See SDL_SetSurfaceRLE() for details.
|
||||||
|
|
Loading…
Reference in a new issue