[SDL] Converting PNG's
Patricia Curtis
patricia.curtis at gmail.com
Wed Aug 9 00:44:05 PDT 2006
Hi
I have noticed that if i convert surfaces to screen->format, i get a huge
increase in speed from my game, which works fine for the backgrounds.
i am using PNG images for my sprites as they give me nice anti aliased edges
but when i use SDL_ConvertSurface on the PNG's i lose my transparency's,
so how can i convert the sprites to screen->format and still retain the
transparency and the anti-aliasing on the edges?
Many Thanks
Trish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060809/03b13833/attachment.html
More information about the SDL
mailing list