allow 256-color colormapped tga file

This commit is contained in:
David Rose 2001-09-21 21:40:56 +00:00
parent 3b455c0944
commit f3a4143ba7

View File

@ -33,7 +33,7 @@ struct ImageHeader;
/* Max number of colors allowed for colormapped output. */
#define TGA_MAXCOLORS 256
#define TGA_MAXCOLORS 257
////////////////////////////////////////////////////////////////////
// Class : PNMFileTypeTGA