>Below is a patch to add support for saving TGA files upside down. >Although it sounds strange to do, it is a supported feature of the >file format and OpenGL expects its textures to be upside down. Support >already exists for reading such files but it was impossible to save >them. As far as I know OpenGL expects its textures to be in RGBA format while TGA saves in ABGR so you have to do some extra work per pixel anyway, and then you can just as well read them in upside down, can't you?
- TGA plug-in patch Brandon
- Re: TGA plug-in patch Mattias Engdegård
- Re: TGA plug-in patch Nick Lamb
- Re: TGA plug-in patch Marc Lehmann