[SDL] Re: Alpha blending

Dimitris Giannitsaros daremon_REMOVE at ath.forthnet.gr
Sun Apr 2 15:28:45 PDT 2000

> Is there a way to do per-pixel (as opposed to entire surface) alpha
> blending with SDL? I'd like to use the alpha channel stored by an image
> editor.
> Thanks!
> -Reeves

PNG's with alpha channel work fine (using 8,16 or 32bit displays) as long as
you don't call SDL_DisplayFormat() (because it destroys alpha information).
So, don't call SDL_DisplayFormat() for images with alpha information, until
this is fixed.


More information about the SDL mailing list