summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncRequests.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2015-01-31 12:43:58 +0100
committerdegasus <wickmarkus@web.de>2015-02-22 08:41:15 +0100
commitedbd4021014cd24a7aa98396160df12b590529f7 (patch)
tree828ca5e070e7beef8c9a224396debea2f60328b9 /Source/Core/VideoCommon/AsyncRequests.cpp
parentad7264da7de4ca20472dfc2ef911314ff0e78de7 (diff)
VideoCommon: bbox by async events
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
-rw-r--r--Source/Core/VideoCommon/AsyncRequests.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp
index 9430d390fa..e99b1ab255 100644
--- a/Source/Core/VideoCommon/AsyncRequests.cpp
+++ b/Source/Core/VideoCommon/AsyncRequests.cpp
@@ -95,6 +95,9 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e)
Renderer::Swap(e.swap_event.xfbAddr, e.swap_event.fbWidth, e.swap_event.fbStride, e.swap_event.fbHeight, rc);
break;
+ case Event::BBOX_READ:
+ *e.bbox.data = g_renderer->BBoxRead(e.bbox.index);
+
}
}