From 6bf96a5f05a83387d7e27683aade7a2534fb51e7 Mon Sep 17 00:00:00 2001 From: Sascha Heylik Date: Wed, 5 Sep 2012 18:04:26 +0200 Subject: [PATCH] remove getTextureSize --- src/tile.cpp | 16 ---------------- src/tile.h | 1 - 2 files changed, 17 deletions(-) diff --git a/src/tile.cpp b/src/tile.cpp index 7f5d6ddd3..f7f1779ca 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -732,22 +732,6 @@ std::string TextureSource::getTextureName(u32 id) return m_atlaspointer_cache[id].name; } -v2s32 TextureSource::getTextureSize(u32 id) -{ - JMutexAutoLock lock(m_atlaspointer_cache_mutex); - - id (id >= m_atlaspointer_cache.size()) - { - errorstream<<"TextureSource::getTextureName(): id="<= m_atlaspointer_cache.size()=" - <