We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7555833 commit ac1213dCopy full SHA for ac1213d
include/SDL_video.h
@@ -578,6 +578,8 @@ extern DECLSPEC int SDLCALL SDL_SetColorKey
578
* If 'flag' is SDL_SRCALPHA, alpha blending is enabled for the surface.
579
* OR:ing the flag with SDL_RLEACCEL requests RLE acceleration for the
580
* surface; if SDL_RLEACCEL is not specified, the RLE accel will be removed.
581
+ *
582
+ * The 'alpha' parameter is ignored for surfaces that have an alpha channel.
583
*/
584
extern DECLSPEC int SDLCALL SDL_SetAlpha(SDL_Surface *surface, Uint32 flag, Uint8 alpha);
585
0 commit comments