Precache, Unload and FillSimplePoly bug fix

This commit is contained in:
Magnus Norddahl 2016-06-13 21:39:55 +02:00
commit 8ba6a4f175
22 changed files with 33 additions and 52 deletions

View file

@ -67,7 +67,6 @@ protected:
FString SourceFile;
BYTE *Pixels;
std::vector<uint32_t> PixelsBgra;
Span **Spans;
BYTE BitDepth;
@ -382,7 +381,7 @@ void FPNGTexture::Unload ()
{
delete[] Pixels;
Pixels = NULL;
PixelsBgra.clear();
FTexture::Unload();
}
//==========================================================================