quiet spurious warning

This commit is contained in:
Glenn Maynard
2002-10-12 01:15:39 +00:00
parent 27cd560b37
commit 4f5377b202
+2 -1
View File
@@ -41,7 +41,8 @@ RageTextureManager::~RageTextureManager()
i != m_mapPathToTexture.end(); ++i)
{
RageTexture* pTexture = i->second;
LOG->Trace( "TEXTUREMAN LEAK: '%s', RefCount = %d.", i->first, pTexture->m_iRefCount );
if( pTexture->m_iRefCount )
LOG->Trace( "TEXTUREMAN LEAK: '%s', RefCount = %d.", i->first, pTexture->m_iRefCount );
SAFE_DELETE( pTexture );
}
}