0.4 on os x and texture channels

Help test release candidates for the next release
Post Reply
User avatar
Core Dumper
Posts: 124
Joined: Wed Sep 27, 2006 11:51 am

0.4 on os x and texture channels

Post by voodoo »


I probably missed something like a configure flag or something because I'm facing a problem I did not faced when I was compiling armagetronad with xcode. Here's the issue:
With the command line build system and the os-x-toolkit branch, texturing has reversed red and blue channels, making splash screen and textures look odd...
Changing a bit source code to use GL_BGR instead of GL_RGB actually fixed the issue, but yet, I wonder why it was working properly before.
Any idea ?

Thanks in advance.

User avatar
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am

Re: 0.4 on os x and texture channels

Post by dlh »

This appears to be a bug in SDL_image. The toolkit is using version 1.2.12 (the latest as of this post), and the older version we were using (1.2.7) doesn't reproduce this issue.

I'll file a bug with a testcase to SDL's issue tracker.

Post Reply