diff options
author | tron <tron@openttd.org> | 2005-02-10 22:26:28 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-10 22:26:28 +0000 |
commit | 33cf096b03091863d5c7e90086ddf1155ce67c36 (patch) | |
tree | e814d5f6049f30651ade4ab2762b24e651e09659 | |
parent | 9031e0369eeb2c11c5a4a671fb812645b2ea69a2 (diff) | |
download | openttd-33cf096b03091863d5c7e90086ddf1155ce67c36.tar.xz |
(svn r1856) Make GfxInitSpriteMem() static, because it's only used withing spritecache.c
-rw-r--r-- | spritecache.c | 2 | ||||
-rw-r--r-- | spritecache.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/spritecache.c b/spritecache.c index bc00feebf..899242d72 100644 --- a/spritecache.c +++ b/spritecache.c @@ -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; diff --git a/spritecache.h b/spritecache.h index b4becda45..f1c0a80f7 100644 --- a/spritecache.h +++ b/spritecache.h @@ -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); |