mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
- fixed uninitialized alpha channel in palette for savegame images.
This commit is contained in:
parent
5e4de10f97
commit
6cce1f1e52
1 changed files with 1 additions and 0 deletions
|
@ -657,6 +657,7 @@ FBitmap FPNGFileTexture::GetBgraBitmap(PalEntry *remap, int *trans)
|
|||
pe[i].r = lump->ReadUInt8();
|
||||
pe[i].g = lump->ReadUInt8();
|
||||
pe[i].b = lump->ReadUInt8();
|
||||
pe[i].a = 255;
|
||||
}
|
||||
}
|
||||
lump->Seek(4, FileReader::SeekCur); // Skip CRC
|
||||
|
|
Loading…
Reference in a new issue