diff options
Diffstat (limited to 'Source/Core/VideoCommon/BoundingBox.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BoundingBox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/BoundingBox.cpp b/Source/Core/VideoCommon/BoundingBox.cpp index 7c2127d353..805431c7d6 100644 --- a/Source/Core/VideoCommon/BoundingBox.cpp +++ b/Source/Core/VideoCommon/BoundingBox.cpp @@ -9,6 +9,7 @@ #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" +#include "VideoCommon/PixelShaderManager.h" namespace BoundingBox { @@ -29,11 +30,13 @@ std::array<u16, 4> s_coordinates{ void Enable() { s_is_active = true; + PixelShaderManager::SetBoundingBoxActive(s_is_active); } void Disable() { s_is_active = false; + PixelShaderManager::SetBoundingBoxActive(s_is_active); } bool IsEnabled() |
