summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexShaderManager.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2025-10-29 00:25:11 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2025-10-31 13:27:50 -0500
commitee7c476e24d59af2c6b8e24486cd08ff09946112 (patch)
treec4e95333a7d2465fa10c955fbb0812c754d9166c /Source/Core/VideoCommon/VertexShaderManager.cpp
parentb920182c97703b3df0fcb44cebdd6d1cc5485fcc (diff)
VideoCommon: move global variables out of BPFunctions
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexShaderManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp
index 4dba5432bc..973b944d98 100644
--- a/Source/Core/VideoCommon/VertexShaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexShaderManager.cpp
@@ -388,7 +388,8 @@ void VertexShaderManager::SetConstants(const std::vector<std::string>& textures,
}
dirty = true;
- BPFunctions::SetScissorAndViewport();
+ BPFunctions::SetScissorAndViewport(g_framebuffer_manager.get(), bpmem.scissorTL,
+ bpmem.scissorBR, bpmem.scissorOffset, xfmem.viewport);
g_stats.AddScissorRect();
}