diff options
| author | Scott Mansell <phiren@gmail.com> | 2023-01-30 03:40:15 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2023-01-31 19:41:24 +1300 |
| commit | 99d3e489ea33fefd61715289959e852f69973117 (patch) | |
| tree | 96a8e4744925f663dba624c0b5ee373e6c808e63 /Source/Core/VideoCommon/PixelEngine.cpp | |
| parent | 35a69cb1bbce567eeae8fb8eece0062a782e436d (diff) | |
Move BoundingBox out of RenderBase
They were essentially just pass-though methods
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelEngine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index 82464339e4..9817e38c07 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -20,7 +20,6 @@ #include "VideoCommon/BoundingBox.h" #include "VideoCommon/Fifo.h" #include "VideoCommon/PerfQueryBase.h" -#include "VideoCommon/RenderBase.h" #include "VideoCommon/VideoBackendBase.h" namespace PixelEngine @@ -148,7 +147,7 @@ void PixelEngineManager::RegisterMMIO(MMIO::Mapping* mmio, u32 base) { mmio->Register(base | (PE_BBOX_LEFT + 2 * i), MMIO::ComplexRead<u16>([i](Core::System& system, u32) { - g_renderer->BBoxDisable(system.GetPixelShaderManager()); + g_bounding_box->Disable(system.GetPixelShaderManager()); return g_video_backend->Video_GetBoundingBox(i); }), MMIO::InvalidWrite<u16>()); |
