From 5346cf842c00dbebeb07f1df09ac4fad5f368fa6 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Wed, 28 Jul 2021 17:13:05 +0000 Subject: [PATCH] Sync wiki -> header --- include/SDL_surface.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/SDL_surface.h b/include/SDL_surface.h index 0373be715..5325ed201 100644 --- a/include/SDL_surface.h +++ b/include/SDL_surface.h @@ -388,9 +388,12 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasSurfaceRLE(SDL_Surface * surface); /** * Set the color key (transparent pixel) in a surface. * - * E.g. Set cyan pixals to transparentThe color key defines a pixel value that - * will be treated as transparent in a blit. It is a pixel of the format used - * by the surface, as generated by SDL_MapRGB(). + * The color key defines a pixel value that will be treated as transparent in + * a blit. For example, one can use this to specify that cyan pixels should be + * 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 * horizontal runs of transparent pixels. See SDL_SetSurfaceRLE() for details.