quiet spurious warning
This commit is contained in:
@@ -41,6 +41,7 @@ RageTextureManager::~RageTextureManager()
|
|||||||
i != m_mapPathToTexture.end(); ++i)
|
i != m_mapPathToTexture.end(); ++i)
|
||||||
{
|
{
|
||||||
RageTexture* pTexture = i->second;
|
RageTexture* pTexture = i->second;
|
||||||
|
if( pTexture->m_iRefCount )
|
||||||
LOG->Trace( "TEXTUREMAN LEAK: '%s', RefCount = %d.", i->first, pTexture->m_iRefCount );
|
LOG->Trace( "TEXTUREMAN LEAK: '%s', RefCount = %d.", i->first, pTexture->m_iRefCount );
|
||||||
SAFE_DELETE( pTexture );
|
SAFE_DELETE( pTexture );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user