diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-12-05 10:58:03 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-12-05 11:48:42 -0500 |
| commit | 9bd533ebe4cee1dfef9725f32fe0b9ca42f5680d (patch) | |
| tree | 4f7b7b1da059b8299e459e76ebbcf930e58c9df0 /Source/Core/VideoCommon/PixelEngine.cpp | |
| parent | 15fc71cfcf5f94221443aaff99ae559fa3cb4633 (diff) | |
VideoCommon/BoundingBox: Make interface for querying bounding box data
Rather than expose the bounding box members directly, we can instead
provide an interface for code to use. This makes it nicer to transition
from global data, as the interface function names are already in
place.
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index e5136e6d50..fc44841622 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -233,7 +233,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base) for (int i = 0; i < 4; ++i) { mmio->Register(base | (PE_BBOX_LEFT + 2 * i), MMIO::ComplexRead<u16>([i](u32) { - BoundingBox::active = false; + BoundingBox::Disable(); PixelShaderManager::SetBoundingBoxActive(false); return g_video_backend->Video_GetBoundingBox(i); }), |
