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

@ -196,7 +196,6 @@ public:
protected:
BYTE *Pixels;
std::vector<uint32_t> PixelsBgra;
Span DummySpans[2];
void MakeTexture ();
@ -300,7 +299,7 @@ void FJPEGTexture::Unload ()
{
delete[] Pixels;
Pixels = NULL;
PixelsBgra.clear();
FTexture::Unload();
}
//==========================================================================