summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorGravatar Hexagon122019-05-19 15:05:56 +0100
committerGravatar GitHub2019-05-19 15:05:56 +0100
commitac3775e6ae1b791f2a774369b83a50f072921c3e (patch)
treeecf0223b65e65d13050674f63dc3250652ae887f /src/video_core/gpu_thread.cpp
parentMerge pull request #2472 from FernandoS27/tic (diff)
parentyuzu: Remove explicit types from locks where applicable (diff)
downloadyuzu-ac3775e6ae1b791f2a774369b83a50f072921c3e.tar.gz
yuzu-ac3775e6ae1b791f2a774369b83a50f072921c3e.tar.xz
yuzu-ac3775e6ae1b791f2a774369b83a50f072921c3e.zip
Merge pull request #2468 from lioncash/deduction
yuzu: Remove explicit types from locks where applicable
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 03856013f..1e2ff46b0 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -118,7 +118,7 @@ void SynchState::WaitForSynchronization(u64 fence) {
118 // Wait for the GPU to be idle (all commands to be executed) 118 // Wait for the GPU to be idle (all commands to be executed)
119 { 119 {
120 MICROPROFILE_SCOPE(GPU_wait); 120 MICROPROFILE_SCOPE(GPU_wait);
121 std::unique_lock<std::mutex> lock{synchronization_mutex}; 121 std::unique_lock lock{synchronization_mutex};
122 synchronization_condition.wait(lock, [this, fence] { return signaled_fence >= fence; }); 122 synchronization_condition.wait(lock, [this, fence] { return signaled_fence >= fence; });
123 } 123 }
124} 124}