[SDL] Re: gl blitting and alpha blending
Andreas Schiffler
aschiffler at home.com
Tue Dec 19 18:22:21 PST 2000
Michael Vance wrote:
> On Tue, Dec 19, 2000 at 05:51:11PM -0800, Andreas Schiffler wrote:
>
> > SDL_GL_SetAttribute( SDL_GL_ALPHA_SIZE, rgb_size[3] );
>
> Alpha frame buffer is very very different from using alpha
> blending. Read your Red Book for more info.
>
I realize that ... the point is though, I can't seem to get an
alpha-channel through the
...
video_flags = SDL_OPENGLBLIT;
SDL_GL_SetAttribute( SDL_GL_ALPHA_SIZE, rgb_size[3] );
SDL_SetVideoMode( w, h, bpp, video_flags )
...
call sequence (regardless if I need it for alpha blending/blitting or
not).
>
> And please don't post mixed text/html email.
>
Sorry about that ... its a netcape default. (and a habit of mine).
Cheers
Andreas
--
| Andreas Schiffler aschiffler at home.com |
| 4707 Eastwood Cres., Niagara Falls, Ont L2E 1B4, Canada |
| +1-905-371-3652 (private) - +1-905-371-8834 (work/fax) |
More information about the SDL
mailing list