Codechange: Make the simple Malloc sprite allocator globally usable.

This commit is contained in:
Michael Lutz
2021-01-16 16:43:31 +01:00
parent 70aa3b4011
commit 6776229047
6 changed files with 13 additions and 11 deletions

View File

@@ -26,6 +26,7 @@ extern uint _sprite_cache_size;
typedef void *AllocatorProc(size_t size);
void *SimpleSpriteAlloc(size_t size);
void *GetRawSprite(SpriteID sprite, SpriteType type, AllocatorProc *allocator = nullptr, SpriteEncoder *encoder = nullptr);
bool SpriteExists(SpriteID sprite);