VideoCommon: Show profiler output again
This profiler was added in 94d9d13
, but must've broken at some point.
This commit is contained in:
parent
961f937010
commit
81d399a4f2
|
@ -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