| Summary: | 32bpp RGBA->RGB colorkey blit, no SDL_SRCALPHA | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryan C. Gordon <icculus> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | codepro |
| Version: | HG 1.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | 32bpp RGBA->RGB colorkey blit, no SDL_SRCALPHA patch | ||
|
Description
Ryan C. Gordon
2006-01-03 12:10:32 UTC
Created attachment 15 [details] 32bpp RGBA->RGB colorkey blit, no SDL_SRCALPHA patch From: "Alex Volkov" <avcp-sdlmail@usa.net> To: sdl@libsdl.org Subject: [SDL] Re: BUG[?]: 32bpp RGBA->RGB colorkey blit, no SDL_SRCALPHA Date: Fri, 11 Nov 2005 00:29:07 -0500 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. Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL. --ryan. This patch is in CVS, thanks! |