RenderBase: Show input count on m_ShowFrameCount

Just to stay consistent, I believe it is best to show total input polls alongside the framecount.
This commit is contained in:
sowens99 2021-09-29 14:36:09 -04:00
parent a47b91e946
commit 30dcac15fa

View File

@ -569,6 +569,7 @@ void Renderer::DrawDebugText()
else if (config.m_ShowFrameCount) else if (config.m_ShowFrameCount)
{ {
ImGui::Text("Frame: %" PRIu64, Movie::GetCurrentFrame()); ImGui::Text("Frame: %" PRIu64, Movie::GetCurrentFrame());
ImGui::Text("Input: %" PRIu64, Movie::GetCurrentInputCount());
} }
if (SConfig::GetInstance().m_ShowLag) if (SConfig::GetInstance().m_ShowLag)
ImGui::Text("Lag: %" PRIu64 "\n", Movie::GetCurrentLagCount()); ImGui::Text("Lag: %" PRIu64 "\n", Movie::GetCurrentLagCount());