From 99d3e489ea33fefd61715289959e852f69973117 Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Mon, 30 Jan 2023 03:40:15 +1300 Subject: Move BoundingBox out of RenderBase They were essentially just pass-though methods --- Source/Core/VideoCommon/AsyncRequests.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp') 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 #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: -- cgit v1.2.3