mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
Merge pull request #8912 from JosJuice/fix-profiler
VideoCommon: Show profiler output again
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user