summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-11-27 17:09:55 -0800
committerPokechu22 <Pokechu022@gmail.com>2022-04-16 12:35:00 -0700
commitf3eff70e2fda8ad0894f34336584f331ab989b68 (patch)
tree0b2f23c5206c990bff21bce2073e54454a733d3e /Source/Core/VideoCommon/RenderBase.cpp
parent4d1e1db3c55c1d51a325e46274a1f8587805d529 (diff)
Implement ImGui window for scissor rectangles
This is mainly for debugging, and is only exposed by manually editing the configuration.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
-rw-r--r--Source/Core/VideoCommon/RenderBase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp
index 6c369621b3..d895d648ed 100644
--- a/Source/Core/VideoCommon/RenderBase.cpp
+++ b/Source/Core/VideoCommon/RenderBase.cpp
@@ -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());