add the renderer name to stats (so that I won't be confused about which is being used)

This commit is contained in:
Chris Danford
2005-11-23 20:42:48 +00:00
parent f5cdefca17
commit 3060418806
5 changed files with 11 additions and 6 deletions
+7 -2
View File
@@ -105,11 +105,16 @@ void RageDisplay::ResetStats()
CString RageDisplay::GetStats() const
{
CString s;
/* If FPS == 0, we don't have stats yet. */
if( !GetFPS() )
return "-- FPS\n-- av FPS\n-- VPF";
s = "-- FPS\n-- av FPS\n-- VPF";
return ssprintf( "%i FPS\n%i av FPS\n%i VPF", GetFPS(), GetCumFPS(), GetVPF() );
s = ssprintf( "%i FPS\n%i av FPS\n%i VPF", GetFPS(), GetCumFPS(), GetVPF() );
s += "\n"+this->GetApiDescription();
return s;
}
void RageDisplay::EndFrame()