summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexShaderManager.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/VertexShaderManager.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/VertexShaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexShaderManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp
index fc8b9e69f8..2b5fc68185 100644
--- a/Source/Core/VideoCommon/VertexShaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexShaderManager.cpp
@@ -299,6 +299,7 @@ void VertexShaderManager::SetConstants()
dirty = true;
BPFunctions::SetScissorAndViewport();
+ g_stats.AddScissorRect();
}
if (bProjectionChanged || g_freelook_camera.GetController()->IsDirty())