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/AsyncRequests.cpp | |
| parent | 35a69cb1bbce567eeae8fb8eece0062a782e436d (diff) | |
Move BoundingBox out of RenderBase
They were essentially just pass-though methods
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AsyncRequests.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp index aca5be57a4..4ab52845f9 100644 --- a/Source/Core/VideoCommon/AsyncRequests.cpp +++ b/Source/Core/VideoCommon/AsyncRequests.cpp @@ -6,6 +6,8 @@ #include <mutex> #include "Core/System.h" + +#include "VideoCommon/BoundingBox.h" #include "VideoCommon/Fifo.h" #include "VideoCommon/RenderBase.h" #include "VideoCommon/Statistics.h" @@ -157,7 +159,7 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e) break; case Event::BBOX_READ: - *e.bbox.data = g_renderer->BBoxRead(e.bbox.index); + *e.bbox.data = g_bounding_box->Get(e.bbox.index); break; case Event::FIFO_RESET: |
