mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-23 23:52:37 +00:00
(svn r1856) Make GfxInitSpriteMem() static, because it's only used withing spritecache.c
This commit is contained in:
parent
9031e0369e
commit
33cf096b03
@ -951,7 +951,7 @@ static void LoadSpriteTables(void)
|
||||
_compact_cache_counter = 0;
|
||||
}
|
||||
|
||||
void GfxInitSpriteMem(byte *ptr, uint32 size)
|
||||
static void GfxInitSpriteMem(byte *ptr, uint32 size)
|
||||
{
|
||||
// initialize sprite cache heap
|
||||
_spritecache_ptr = ptr;
|
||||
|
@ -20,7 +20,6 @@ const SpriteDimension *GetSpriteDimension(SpriteID sprite);
|
||||
Sprite *GetSprite(SpriteID sprite);
|
||||
byte *GetNonSprite(SpriteID sprite);
|
||||
|
||||
void GfxInitSpriteMem(byte *ptr, uint32 size);
|
||||
void GfxLoadSprites(void);
|
||||
void IncreaseSpriteLRU(void);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user