]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
LoadTGA is now more compliant with the TGA spec regarding colormaps (they can be...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 14 Apr 2005 08:27:36 +0000 (08:27 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 14 Apr 2005 08:27:36 +0000 (08:27 +0000)
commitf716f8f488d519c27082826c81b7420e7dbe1743
treebb1b9655d7356db3fbc411867e1986604a523e2e
parent0c1bf945ba583a260c98feb2d5ae1ec2513f834f
LoadTGA is now more compliant with the TGA spec regarding colormaps (they can be present even on a truecolor image, just not used by it) and attributebits (alpha is now ignored if attributebits is not 8 which fixes a number of malformed TGA files (though they still waste disk space) - note that attributebits is part of the attributes header byte)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5179 d7cf8633-e32d-0410-b094-e92efae38249
image.c