- fixed uninitialized alpha channel in palette for savegame images.

This commit is contained in:
Christoph Oelckers 2019-08-11 21:25:35 +02:00
parent 5e4de10f97
commit 6cce1f1e52
1 changed files with 1 additions and 0 deletions

View File

@ -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