[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] SDL vs. Pygame: Alpha Differences



In the SDL documentation, it says under 'SDL_SetAlpha':

"When blitting RGBA->RGBA with SDL_SRCALPHA: The source is alpha-blended with the destination using the source alpha channel. The alpha channel in the destination surface is left untouched. SDL_SRCCOLORKEY is ignored."

However, in Pygame, the alpha channel IS overwritten. Is there any technique to overcome this, to make it match what is written in the SDL documentation? Or is it a bug in SDL?

--Kamilche