mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
Corrected blit colorkey documentation
Fixes https://github.com/libsdl-org/sdlwiki/issues/576
This commit is contained in:
@@ -920,7 +920,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_FillSurfaceRects(SDL_Surface *dst, const SDL
|
|||||||
* SDL_SRCCOLORKEY ignored.
|
* SDL_SRCCOLORKEY ignored.
|
||||||
* Source surface blend mode set to SDL_BLENDMODE_NONE:
|
* Source surface blend mode set to SDL_BLENDMODE_NONE:
|
||||||
* copy RGB.
|
* copy RGB.
|
||||||
* if SDL_SRCCOLORKEY set, only copy the pixels matching the
|
* if SDL_SRCCOLORKEY set, only copy the pixels that do not match the
|
||||||
* RGB values of the source color key, ignoring alpha in the
|
* RGB values of the source color key, ignoring alpha in the
|
||||||
* comparison.
|
* comparison.
|
||||||
*
|
*
|
||||||
@@ -930,7 +930,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_FillSurfaceRects(SDL_Surface *dst, const SDL
|
|||||||
* Source surface blend mode set to SDL_BLENDMODE_NONE:
|
* Source surface blend mode set to SDL_BLENDMODE_NONE:
|
||||||
* copy RGB, set destination alpha to source per-surface alpha value.
|
* copy RGB, set destination alpha to source per-surface alpha value.
|
||||||
* both:
|
* both:
|
||||||
* if SDL_SRCCOLORKEY set, only copy the pixels matching the
|
* if SDL_SRCCOLORKEY set, only copy the pixels that do not match the
|
||||||
* source color key.
|
* source color key.
|
||||||
*
|
*
|
||||||
* RGBA->RGBA:
|
* RGBA->RGBA:
|
||||||
@@ -939,7 +939,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_FillSurfaceRects(SDL_Surface *dst, const SDL
|
|||||||
* SDL_SRCCOLORKEY ignored.
|
* SDL_SRCCOLORKEY ignored.
|
||||||
* Source surface blend mode set to SDL_BLENDMODE_NONE:
|
* Source surface blend mode set to SDL_BLENDMODE_NONE:
|
||||||
* copy all of RGBA to the destination.
|
* copy all of RGBA to the destination.
|
||||||
* if SDL_SRCCOLORKEY set, only copy the pixels matching the
|
* if SDL_SRCCOLORKEY set, only copy the pixels that do not match the
|
||||||
* RGB values of the source color key, ignoring alpha in the
|
* RGB values of the source color key, ignoring alpha in the
|
||||||
* comparison.
|
* comparison.
|
||||||
*
|
*
|
||||||
@@ -949,7 +949,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_FillSurfaceRects(SDL_Surface *dst, const SDL
|
|||||||
* Source surface blend mode set to SDL_BLENDMODE_NONE:
|
* Source surface blend mode set to SDL_BLENDMODE_NONE:
|
||||||
* copy RGB.
|
* copy RGB.
|
||||||
* both:
|
* both:
|
||||||
* if SDL_SRCCOLORKEY set, only copy the pixels matching the
|
* if SDL_SRCCOLORKEY set, only copy the pixels that do not match the
|
||||||
* source color key.
|
* source color key.
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user