Fixed SDL_DisplayFormatAlpha() on RGB surfaces with alpha

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40432
This commit is contained in:
Sam Lantinga 2002-08-01 23:06:39 +00:00
parent 8613885333
commit a9c0bef803
4 changed files with 63 additions and 6 deletions

View file

@ -645,7 +645,7 @@ extern DECLSPEC SDL_Surface * SDLCALL SDL_ConvertSurface
* alpha-blend (using the source per-surface alpha value);
* set destination alpha to opaque.
* SDL_SRCALPHA not set:
* copy RGB, set destination alpha to opaque.
* copy RGB, set destination alpha to source per-surface alpha value.
* both:
* if SDL_SRCCOLORKEY set, only copy the pixels matching the
* source colour key.