[SDL] SDL_DisplayFormat

Ian Mallett geometrian at gmail.com
Thu Jul 15 22:37:15 PDT 2010


Hi,

My code is now based on:
http://www.devolution.com/pipermail/sdl/2002-September/049078.html

After some deliberation and a whole lot of Googling, it's working to my
satisfaction now (it can load (or handle) all combinations of RGB/RGBA,
with-colorkey/without-colorkey, to RGB/RGBA.

For future reference, my implementation is:
http://pastebin.com/dzZypTur

It still needs to be able to parse (sub)rects, but that's basically the core
functionality.

Thanks, everyone
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20100715/7c70e808/attachment-0008.htm>


More information about the SDL mailing list