mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +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;
|
transpal = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
lump->Seek(len, SEEK_CUR);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
lump->Seek(4, SEEK_CUR); // Skip CRC
|
lump->Seek(4, SEEK_CUR); // Skip CRC
|
||||||
|
|
Loading…
Reference in a new issue