diff options
| author | Mai <mai.iam2048@gmail.com> | 2022-12-28 00:59:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-28 00:59:03 +0000 |
| commit | 0900e68986a4fa2254fb3c459f73af4815979e45 (patch) | |
| tree | 1c69cbfcc29dba6cb354823c23c75c546bb0b57a /Source/Core/VideoCommon/BoundingBox.cpp | |
| parent | 9e9910df8b0c965e1a496d479ad94bc78f918817 (diff) | |
| parent | 4549fb4acb1ab520dc6481fe4443cdd3d46bd8c2 (diff) | |
Merge pull request #11384 from AdmiralCurtiss/globals-pixelshadermanager
VideoCommon: De-globalize PixelShaderManager class.
Diffstat (limited to 'Source/Core/VideoCommon/BoundingBox.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BoundingBox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/BoundingBox.cpp b/Source/Core/VideoCommon/BoundingBox.cpp index f5ecc8478b..af0961aab6 100644 --- a/Source/Core/VideoCommon/BoundingBox.cpp +++ b/Source/Core/VideoCommon/BoundingBox.cpp @@ -13,16 +13,16 @@ #include <algorithm> -void BoundingBox::Enable() +void BoundingBox::Enable(PixelShaderManager& pixel_shader_manager) { m_is_active = true; - PixelShaderManager::SetBoundingBoxActive(m_is_active); + pixel_shader_manager.SetBoundingBoxActive(m_is_active); } -void BoundingBox::Disable() +void BoundingBox::Disable(PixelShaderManager& pixel_shader_manager) { m_is_active = false; - PixelShaderManager::SetBoundingBoxActive(m_is_active); + pixel_shader_manager.SetBoundingBoxActive(m_is_active); } void BoundingBox::Flush() |
