Conflict between SetColorKey and SetPaletteColors

Hello,

I’m trying to both alpha a color and swap the color palette of an image, SetColorKey, and SetPaletteColors. I can do these two operations independently, but when I do them together alpha is applied to both the color I key and the colors I am attempting to swap. Is this something known. I’m on mac using SDL2.0.6. This something that is know, or bug?

Thanks.

The problem was that SDL_Color default instantiates alpha to 0. When the colorkey flag is set the alpha channel is turned. If the flag isn’t set there is no alpha. No real problem just a misunderstanding.