* Fix a bug in NinecraftApp where the incorrect string will be printed in place of the level renderer's stats.

This commit is contained in:
iProgramInCpp
2023-07-31 10:18:47 +03:00
parent 8b924022e3
commit 4735bd5cf0

View File

@@ -107,7 +107,7 @@ void NinecraftApp::updateStats()
{
Vec3 &pos = m_pLocalPlayer->m_pos;
printf("%d fps\t%3d chunk updates. (%.2f, %.2f, %.2f)\n", m_fps, Chunk::updates, pos.x, pos.y, pos.z);
printf("%s", m_pLevelRenderer->gatherStats1());
printf("%s", m_pLevelRenderer->gatherStats1().c_str());
Chunk::updates = 0;
}
else