summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
-rw-r--r--src/video_core/gpu_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 469a59cf9..3c5317777 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -118,7 +118,7 @@ u64 ThreadManager::PushCommand(CommandData&& command_data, bool block) {
118 118
119 std::unique_lock lk(state.write_lock); 119 std::unique_lock lk(state.write_lock);
120 const u64 fence{++state.last_fence}; 120 const u64 fence{++state.last_fence};
121 state.queue.Push(std::move(command_data), fence, block); 121 state.queue.EmplaceWait(std::move(command_data), fence, block);
122 122
123 if (block) { 123 if (block) {
124 Common::CondvarWait(state.cv, lk, thread.get_stop_token(), [this, fence] { 124 Common::CondvarWait(state.cv, lk, thread.get_stop_token(), [this, fence] {