Skip to content

Commit

Permalink
- removed redundant resource reading.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Oct 15, 2019
1 parent 4d8f0fc commit e166563
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gamedata/textures/formats/stbtexture.cpp
Expand Up @@ -124,7 +124,6 @@ TArray<uint8_t> FStbTexture::CreatePalettedPixels(int conversion)
FBitmap bitmap;
bitmap.Create(Width, Height);
CopyPixels(&bitmap, conversion);
FMemLump lump = Wads.ReadLump (SourceLump);
const uint8_t *data = bitmap.GetPixels();

uint8_t *dest_p;
Expand Down

0 comments on commit e166563

Please sign in to comment.