From 5ce81ebcc96366ff011fbaf050042505d7b23d72 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 20 Jul 2024 15:44:44 -0700 Subject: [PATCH] Corrected blit colorkey documentation Fixes https://github.com/libsdl-org/sdlwiki/issues/576 --- include/SDL3/SDL_surface.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h index cff91f64c3..cd3d72245e 100644 --- a/include/SDL3/SDL_surface.h +++ b/include/SDL3/SDL_surface.h @@ -920,7 +920,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_FillSurfaceRects(SDL_Surface *dst, const SDL * SDL_SRCCOLORKEY ignored. * Source surface blend mode set to SDL_BLENDMODE_NONE: * 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 * 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: * copy RGB, set destination alpha to source per-surface alpha value. * 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. * * RGBA->RGBA: @@ -939,7 +939,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_FillSurfaceRects(SDL_Surface *dst, const SDL * SDL_SRCCOLORKEY ignored. * Source surface blend mode set to SDL_BLENDMODE_NONE: * 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 * 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: * copy RGB. * 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. * ``` *