[SDL] colorkey in SDL_Texture

Santiago Radeff santiago at dragontech.net
Mon Dec 20 13:18:20 PST 2010


I am porting a project to SDL 1.3 from SDL 1.2
I need to use a colorkey for my sprites and when i do 
SDL_CreateTextureFromSurface(surface) i loose the colorkey info in the 
SDL_Surface and all the pixels are rendered.
How can i use a SDL_Texture with colorkey?



More information about the SDL mailing list