summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncRequests.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2015-01-31 13:09:25 +0100
committerdegasus <wickmarkus@web.de>2015-02-22 08:41:15 +0100
commitb35fa222f5db3d7862a8526735d195284b4a1f34 (patch)
tree3b39d1eb7fea9c0b2f5a9cb5023e2e4d1063d6f9 /Source/Core/VideoCommon/AsyncRequests.cpp
parentedbd4021014cd24a7aa98396160df12b590529f7 (diff)
VideoCommon: perf querys by async events
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
-rw-r--r--Source/Core/VideoCommon/AsyncRequests.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp
index e99b1ab255..a6cc5a4b9c 100644
--- a/Source/Core/VideoCommon/AsyncRequests.cpp
+++ b/Source/Core/VideoCommon/AsyncRequests.cpp
@@ -97,6 +97,11 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e)
case Event::BBOX_READ:
*e.bbox.data = g_renderer->BBoxRead(e.bbox.index);
+ break;
+
+ case Event::PERF_QUERY:
+ g_perf_query->FlushResults();
+ break;
}
}