Simplify the loop with auto and WHITE SPACE.
This commit is contained in:
@@ -319,10 +319,10 @@ void RageTextureManager::DiagnosticOutput() const
|
|||||||
LOG->Trace( "%u textures loaded:", iCount );
|
LOG->Trace( "%u textures loaded:", iCount );
|
||||||
|
|
||||||
int iTotal = 0;
|
int iTotal = 0;
|
||||||
FOREACHM_CONST( RageTextureID, RageTexture*, m_mapPathToTexture, i )
|
for (auto const &i : m_mapPathToTexture)
|
||||||
{
|
{
|
||||||
const RageTextureID &ID = i->first;
|
const RageTextureID &ID = i.first;
|
||||||
const RageTexture *pTex = i->second;
|
const RageTexture *pTex = i.second;
|
||||||
|
|
||||||
RString sDiags = DISPLAY->GetTextureDiagnostics( pTex->GetTexHandle() );
|
RString sDiags = DISPLAY->GetTextureDiagnostics( pTex->GetTexHandle() );
|
||||||
RString sStr = ssprintf( "%3ix%3i (%2i)", pTex->GetTextureHeight(), pTex->GetTextureWidth(),
|
RString sStr = ssprintf( "%3ix%3i (%2i)", pTex->GetTextureHeight(), pTex->GetTextureWidth(),
|
||||||
|
|||||||
Reference in New Issue
Block a user