diff options
| author | Markus Wick <markus+github@selfnet.de> | 2015-04-06 13:24:17 +0200 |
|---|---|---|
| committer | Markus Wick <markus+github@selfnet.de> | 2015-04-06 13:24:17 +0200 |
| commit | 4669b50e2351830656e7d26ec2f0eec8b4740e69 (patch) | |
| tree | 7da8e9583a95528ef48ade14003b8e381c600908 /Source/Core/VideoCommon/AsyncRequests.cpp | |
| parent | ea50dc240d0df56490aea86408dd0f621787950d (diff) | |
| parent | 74795b45539ebee1c2af78fd6dca9022c3189c76 (diff) | |
Merge pull request #2172 from degasus/block_gpu_thread
Block gpu thread
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AsyncRequests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp index a6cc5a4b9c..d2945a3dbc 100644 --- a/Source/Core/VideoCommon/AsyncRequests.cpp +++ b/Source/Core/VideoCommon/AsyncRequests.cpp @@ -1,4 +1,5 @@ #include "VideoCommon/AsyncRequests.h" +#include "VideoCommon/Fifo.h" #include "VideoCommon/RenderBase.h" AsyncRequests AsyncRequests::s_singleton; @@ -49,6 +50,7 @@ void AsyncRequests::PushEvent(const AsyncRequests::Event& event, bool blocking) m_queue.push(event); + RunGpu(); if (blocking) { m_cond.wait(lock, [this]{return m_queue.empty();}); |
