diff options
| author | Mai <mai.iam2048@gmail.com> | 2022-12-29 04:48:24 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-29 04:48:24 +0000 |
| commit | 7552deeff4d95d7799c59fe00253a3c1ce86f40b (patch) | |
| tree | d02963cf983422c73c7672e4a5a14f399d0403c2 /Source/Core/VideoCommon/OpcodeDecoding.cpp | |
| parent | 82e5f438f954ad822a25eb3261eb9a5d6972ab7f (diff) | |
| parent | 7e55cc9e9044df8382367c5fbcf0dddd88a80201 (diff) | |
Merge pull request #11388 from AdmiralCurtiss/globals-vertexshadermanager
VideoCommon: De-globalize VertexShaderManager class.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/OpcodeDecoding.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp index 3cf16eb8ad..9ffb59a277 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.cpp +++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp @@ -59,12 +59,14 @@ public: if (sub_command == MATINDEX_A) { VertexLoaderManager::g_needs_cp_xf_consistency_check = true; - VertexShaderManager::SetTexMatrixChangedA(value); + auto& system = Core::System::GetInstance(); + system.GetVertexShaderManager().SetTexMatrixChangedA(value); } else if (sub_command == MATINDEX_B) { VertexLoaderManager::g_needs_cp_xf_consistency_check = true; - VertexShaderManager::SetTexMatrixChangedB(value); + auto& system = Core::System::GetInstance(); + system.GetVertexShaderManager().SetTexMatrixChangedB(value); } else if (sub_command == VCD_LO || sub_command == VCD_HI) { |
