mirror of https://github.com/ZDoom/gzdoom-gles.git
- fixed: FPNGTexture must readjust the file pointer after deciding to skip the tRNS chunk.
This commit is contained in:
parent
ed211ecbab
commit
94cec02acc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue