VideoCommon: Show profiler output again

This profiler was added in 94d9d13, but must've broken at some point.
This commit is contained in:
JosJuice 2020-06-29 11:59:47 +02:00
parent 961f937010
commit 81d399a4f2
1 changed files with 4 additions and 0 deletions

View File

@ -557,6 +557,10 @@ void Renderer::DrawDebugText()
if (g_ActiveConfig.bOverlayProjStats)
g_stats.DisplayProj();
const std::string profile_output = Common::Profiler::ToString();
if (!profile_output.empty())
ImGui::TextUnformatted(profile_output.c_str());
}
float Renderer::CalculateDrawAspectRatio() const