diff --git a/include/SDL_video.h b/include/SDL_video.h index badaee6b7..254a13a7c 100644 --- a/include/SDL_video.h +++ b/include/SDL_video.h @@ -578,6 +578,8 @@ extern DECLSPEC int SDLCALL SDL_SetColorKey * If 'flag' is SDL_SRCALPHA, alpha blending is enabled for the surface. * OR:ing the flag with SDL_RLEACCEL requests RLE acceleration for the * surface; if SDL_RLEACCEL is not specified, the RLE accel will be removed. + * + * The 'alpha' parameter is ignored for surfaces that have an alpha channel. */ extern DECLSPEC int SDLCALL SDL_SetAlpha(SDL_Surface *surface, Uint32 flag, Uint8 alpha);