move a function out of the header
This commit is contained in:
@@ -145,4 +145,14 @@ void RageTextureManager::ReloadAll()
|
||||
// this is not entirely correct. Hints are lost!
|
||||
pTexture->Reload( m_iMaxTextureSize, m_iTextureColorDepth, 0 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void RageTextureManager::SetPrefs( DWORD dwMaxSize, DWORD dwTextureColorDepth )
|
||||
{
|
||||
if( dwMaxSize == m_iMaxTextureSize && dwTextureColorDepth == m_iTextureColorDepth )
|
||||
return;
|
||||
ASSERT( m_iMaxTextureSize >= 64 );
|
||||
m_iMaxTextureSize = dwMaxSize;
|
||||
m_iTextureColorDepth = dwTextureColorDepth;
|
||||
ReloadAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user