mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 14:03:26 +02:00
optimize graphics performance
This commit is contained in:
@@ -44,6 +44,7 @@ void UIFrameCounter::drawSelf()
|
||||
m_fpsText = Fw::formatString("FPS: %d", m_frameCount);
|
||||
m_lastFrameTicks = g_clock.ticks();
|
||||
m_frameCount = 0;
|
||||
dump << m_fpsText;
|
||||
}
|
||||
m_frameCount++;
|
||||
|
||||
|
Reference in New Issue
Block a user