summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncRequests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
-rw-r--r--Source/Core/VideoCommon/AsyncRequests.cpp4
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: