mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:44:56 +00:00
TXTR C8 bug fix
This commit is contained in:
@@ -343,7 +343,7 @@ static void DecodeC4(png_structrp png, png_infop info,
|
|||||||
static void DecodeC8(png_structrp png, png_infop info,
|
static void DecodeC8(png_structrp png, png_infop info,
|
||||||
const uint8_t* data, int width, int height)
|
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_COLOR_TYPE_PALETTE, PNG_INTERLACE_NONE,
|
||||||
PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
|
PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
|
||||||
const uint8_t* texels = DecodePalette(png, info, 256, data);
|
const uint8_t* texels = DecodePalette(png, info, 256, data);
|
||||||
|
|||||||
2
hecl
2
hecl
Submodule hecl updated: 998aac3c52...52b3252c2c
Submodule libSpecter updated: df3c22fa1c...e35bef89c5
Reference in New Issue
Block a user