forked from organicmaps/organicmaps
drawing currentScale instead of FPS/SPF in Debug mode.
This commit is contained in:
parent
c3aaba7d91
commit
38357c86c4
1 changed files with 4 additions and 2 deletions
|
@ -175,11 +175,13 @@ void InformationDisplay::setDebugInfo(double frameDuration, int currentScale)
|
|||
void InformationDisplay::drawDebugInfo(DrawerYG * drawer)
|
||||
{
|
||||
ostringstream out;
|
||||
out << "SPF: " << m_frameDuration;
|
||||
out << "Scale : " << m_currentScale;
|
||||
|
||||
/* out << "SPF: " << m_frameDuration;
|
||||
if (m_frameDuration == 0.0)
|
||||
out << " FPS: inf";
|
||||
else
|
||||
out << " FPS: " << 1.0 / m_frameDuration;
|
||||
out << " FPS: " << 1.0 / m_frameDuration;*/
|
||||
|
||||
m_yOffset += 20;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue