RGB/BGR swap

In SVN rev 4324, RGB and BGR can get swapped under certain
circumstances. I posted a bug report, but I was unable to add an
attachment to it with a test program. So I’m attaching it here, and
I’m attaching the Bugzilla error page.

http://bugzilla.libsdl.org/show_bug.cgi?id=664--
http://codebad.com/
-------------- next part --------------
A non-text attachment was scrubbed…
Name: test-color.c
Type: text/x-csrc
Size: 1633 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090103/459620ec/attachment.c