use GetStats for logs

This commit is contained in:
Glenn Maynard
2005-08-23 05:15:16 +00:00
parent 5aee5d00c1
commit 49466a567d
+5 -1
View File
@@ -86,7 +86,11 @@ void RageDisplay::ProcessStatsOnFlip()
g_iVPF = g_iVertsRenderedSinceLastCheck / g_iFPS;
g_iFramesRenderedSinceLastCheck = g_iVertsRenderedSinceLastCheck = 0;
if( LOG_FPS )
LOG->Trace( "FPS: %d, CFPS %d, VPF: %d", g_iFPS, g_iCFPS, g_iVPF );
{
CString sStats = GetStats();
sStats.Replace( "\n", ", " );
LOG->Trace( "%s", sStats.c_str() );
}
}
}