From f3eff70e2fda8ad0894f34336584f331ab989b68 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sat, 27 Nov 2021 17:09:55 -0800 Subject: Implement ImGui window for scissor rectangles This is mainly for debugging, and is only exposed by manually editing the configuration. --- Source/Core/VideoCommon/RenderBase.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/VideoCommon/RenderBase.cpp') 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()); -- cgit v1.2.3