mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: FPNGTexture must readjust the file pointer after deciding to skip the tRNS chunk.
This commit is contained in:
parent
ed211ecbab
commit
94cec02acc
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue