- fixed: FPNGTexture must readjust the file pointer after deciding to skip the tRNS chunk.

This commit is contained in:
Christoph Oelckers 2016-04-15 15:15:34 +02:00
parent ed211ecbab
commit 94cec02acc

View file

@ -659,6 +659,10 @@ int FPNGTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int rotate, FCo
transpal = true;
}
}
else
{
lump->Seek(len, SEEK_CUR);
}
break;
}
lump->Seek(4, SEEK_CUR); // Skip CRC