- removed redundant resource reading.

This commit is contained in:
Christoph Oelckers 2019-10-15 18:46:20 +02:00
parent 4d8f0fc014
commit e166563ac9

View file

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