include/SDL_video.h
changeset 432 80a35d43a58f
parent 431 41cadcba32e8
child 450 8a43e0cbf02f
equal deleted inserted replaced
431:41cadcba32e8 432:80a35d43a58f
   576  *
   576  *
   577  * If 'flag' is 0, alpha blending is disabled for the surface.
   577  * If 'flag' is 0, alpha blending is disabled for the surface.
   578  * If 'flag' is SDL_SRCALPHA, alpha blending is enabled for the surface.
   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
   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.
   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.
   581  */
   583  */
   582 extern DECLSPEC int SDLCALL SDL_SetAlpha(SDL_Surface *surface, Uint32 flag, Uint8 alpha);
   584 extern DECLSPEC int SDLCALL SDL_SetAlpha(SDL_Surface *surface, Uint32 flag, Uint8 alpha);
   583 
   585 
   584 /*
   586 /*
   585  * Sets the clipping rectangle for the destination surface in a blit.
   587  * Sets the clipping rectangle for the destination surface in a blit.