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 9e17eae commit 388c6249b4ba208aaafde70dfe7de28909d0c024
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 388c624

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