[SDL] Colorkey in SDL 1.3
santiago at dragontech.net
Fri Dec 17 06:01:22 PST 2010
I am trying to port a project from SDL 1.2 to SDL 1.3. Everything is going well except when i try to SDL_CreateTextureFromSurface with a colorkey applied to the surface. The texture is created well but no transparency, the background color is also displayed.
I am using SDL_Image to load the surfaces.
How can i make the textures transparent, and is it possible to use per pixel alpha loading a .png file?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL