[SDL] Re: Alpha blending

J. Reeves Hall reeves at earthling.net
Wed Apr 5 12:21:28 PDT 2000


"J. Reeves Hall" wrote:

> 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

Problem solved. I didn't realize that SDL_DisplayFormat() would drop the
alpha channel. It looks very nice now.

Thanks everyone!
-Reeves

--
J. Reeves Hall, Georgia Tech CS Major
Linux #5 SMP Mon Mar 20 21:56:31 EST 2000
3:20pm  up 1 day,  1:26,  8 users,  load average: 0.08, 0.04, 0.01






More information about the SDL mailing list