[SDL] Re: BUG[?]: 32bpp RGBA->RGB colorkey blit, no SDL_SRCALPHA

Alex Volkov avcp-sdlmail at usa.net
Thu Nov 10 21:29:07 PST 2005


Updated patch attached. Never mind the previous one.

There are actually two problems addressed here. I was not sure if the
function was supposed to also mask off the alpha from the colorkey before
using it in comparisons, or if the colorkey was supposed to always be stored
w/o the alpha channel. Read more code -- alpha has to be masked off from the
colorkey, so there it is.

-Alex.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SDL_blit_N.patch.3.txt
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20051111/aa8ae2c5/attachment-0008.txt>


More information about the SDL mailing list