Merge pull request #8912 from JosJuice/fix-profiler

VideoCommon: Show profiler output again
This commit is contained in:
Markus Wick 2020-06-29 14:01:57 +02:00 committed by GitHub
commit 5792881eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -557,6 +557,10 @@ void Renderer::DrawDebugText()
if (g_ActiveConfig.bOverlayProjStats) if (g_ActiveConfig.bOverlayProjStats)
g_stats.DisplayProj(); 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 float Renderer::CalculateDrawAspectRatio() const