diff options
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
| -rw-r--r-- | src/video_core/gpu_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index 1bd477011..164a5252a 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp | |||
| @@ -125,7 +125,7 @@ u64 ThreadManager::PushCommand(CommandData&& command_data, bool block) { | |||
| 125 | state.queue.Push(CommandDataContainer(std::move(command_data), fence, block)); | 125 | state.queue.Push(CommandDataContainer(std::move(command_data), fence, block)); |
| 126 | 126 | ||
| 127 | if (block) { | 127 | if (block) { |
| 128 | state.cv.wait(lk, thread.get_stop_token(), [this, fence] { | 128 | Common::CondvarWait(state.cv, lk, thread.get_stop_token(), [this, fence] { |
| 129 | return fence <= state.signaled_fence.load(std::memory_order_relaxed); | 129 | return fence <= state.signaled_fence.load(std::memory_order_relaxed); |
| 130 | }); | 130 | }); |
| 131 | } | 131 | } |