TXTR C8 bug fix

This commit is contained in:
Jack Andersen 2015-11-22 13:52:02 -10:00
parent d255610a38
commit 64d62220fe
3 changed files with 3 additions and 3 deletions

View File

@ -343,7 +343,7 @@ static void DecodeC4(png_structrp png, png_infop info,
static void DecodeC8(png_structrp png, png_infop info,
const uint8_t* data, int width, int height)
{
png_set_IHDR(png, info, width, height, 4,
png_set_IHDR(png, info, width, height, 8,
PNG_COLOR_TYPE_PALETTE, PNG_INTERLACE_NONE,
PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
const uint8_t* texels = DecodePalette(png, info, 256, data);

2
hecl

@ -1 +1 @@
Subproject commit 998aac3c526c72ce8572afccce8e9a2ccdbd688f
Subproject commit 52b3252c2c66edbc153ebf6a43619b17421da742

@ -1 +1 @@
Subproject commit df3c22fa1cc40284060dc7a7dc765037c5ae571d
Subproject commit e35bef89c5d80d5037ef2af87cf193d051f6eb8a