Implement ImGui window for scissor rectangles

This is mainly for debugging, and is only exposed by manually editing the configuration.
This commit is contained in:
Pokechu22 committed 2022-04-16 12:35:00 -07:00
1 parent 4d1e1db3c5
commit f3eff70e2f
9 files changed
+406

No files matched your search

+3
View File
@@ -627,6 +627,9 @@ void Renderer::DrawDebugText()
if (g_ActiveConfig.bOverlayProjStats)
g_stats.DisplayProj();
if (g_ActiveConfig.bOverlayScissorStats)
g_stats.DisplayScissor();
const std::string profile_output = Common::Profiler::ToString();
if (!profile_output.empty())
ImGui::TextUnformatted(profile_output.c_str());