From edbd4021014cd24a7aa98396160df12b590529f7 Mon Sep 17 00:00:00 2001 From: degasus Date: Sat, 31 Jan 2015 12:43:58 +0100 Subject: VideoCommon: bbox by async events --- Source/Core/VideoCommon/AsyncRequests.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp') 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); + } } -- cgit v1.2.3