[SDL] simple alpha problem

Rainer Deyke root at rainerdeyke.com
Thu Nov 28 07:51:02 PST 2002


James Turk wrote:
>    Do you mean to say that after SDL_SetAlpha it is wrong to call
> SDL_DisplayFormatAlpha?


Not really "wrong", but it may not have the behavior you want it to
have.  In particular, if the original surface has an alpha channel and
per-surface alpha, the latter is ignored by 'SDL_DisplayFormatAlpha'.

--
Rainer Deyke | root at rainerdeyke.com | http://rainerdeyke.com





More information about the SDL mailing list