Skip to content
Permalink
Browse files

- fixed uninitialized alpha channel in palette for savegame images.

  • Loading branch information...
coelckers committed Aug 11, 2019
1 parent 5e4de10 commit 6cce1f1e52e5d2f6414f8de5ea80f6454a0914ec
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gamedata/textures/formats/pngtexture.cpp
@@ -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

0 comments on commit 6cce1f1

Please sign in to comment.
You can’t perform that action at this time.