Merge pull request #8912 from JosJuice/fix-profiler
VideoCommon: Show profiler output again
This commit is contained in:
commit
5792881eeb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue