diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2023-04-04 22:02:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-04 22:02:39 +0200 |
| commit | d8fabd37fbdd3ec355832ba4685749bbe6f1ede8 (patch) | |
| tree | 69dd6fc667dd905611cfd84da26e60b139556a4f /Source/Core/Common/WorkQueueThread.h | |
| parent | c71a4c2751c705940a00d9b7befdd29a5c5c9f48 (diff) | |
| parent | c1be9628fc1237ffbae14f2d1a15ed1895be2eda (diff) | |
Merge pull request #11417 from K0bin/vk-submit-thread-cleanup
VideoBackends:Vulkan: Clean up submission thread using WorkQueueThread
Diffstat (limited to 'Source/Core/Common/WorkQueueThread.h')
| -rw-r--r-- | Source/Core/Common/WorkQueueThread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/WorkQueueThread.h b/Source/Core/Common/WorkQueueThread.h index be3c3198d4..be723299b2 100644 --- a/Source/Core/Common/WorkQueueThread.h +++ b/Source/Core/Common/WorkQueueThread.h @@ -124,7 +124,7 @@ public: if (m_idle && !m_cancelling.load()) return; - m_wait_cond_var.wait(lg, [&] { return m_idle && m_cancelling.load(); }); + m_wait_cond_var.wait(lg, [&] { return m_idle && !m_cancelling; }); } // If the worker polls IsCanceling(), it can abort its work when Cancelling |
