- allocate the sprite positioning info on demand only.

For most textures this is never needed and it can easily be put in the memory arena being used for image sources.
This commit is contained in:
Christoph Oelckers 2020-04-16 18:46:31 +02:00
commit 095a5e2c0a
5 changed files with 70 additions and 69 deletions

View file

@ -41,7 +41,7 @@
#include "cmdlib.h"
#include "palettecontainer.h"
FMemArena FImageSource::ImageArena(32768);
FMemArena ImageArena(32768);
TArray<FImageSource *>FImageSource::ImageForLump;
int FImageSource::NextID;
static PrecacheInfo precacheInfo;