mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r1856) Make GfxInitSpriteMem() static, because it's only used withing spritecache.c
This commit is contained in:
parent
dc54a3e627
commit
12c7e128a9
@ -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