aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorHexagon12 <Hexagon12@users.noreply.github.com>2019-05-19 15:05:56 +0100
committerGitHub <noreply@github.com>2019-05-19 15:05:56 +0100
commit709885905d9e0c2df09eb6df0eea2f9a70ee4cfd (patch)
treeecf0223b65e65d13050674f63dc3250652ae887f /src/video_core/gpu_thread.cpp
parent3973cb147e3868b5e5b2809d9f99f283823a637c (diff)
parent68cd911bd1231ff30f2b74b08931930ee9922404 (diff)
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 03856013fb..1e2ff46b0e 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -118,7 +118,7 @@ void SynchState::WaitForSynchronization(u64 fence) {
// Wait for the GPU to be idle (all commands to be executed)
{
MICROPROFILE_SCOPE(GPU_wait);
- std::unique_lock<std::mutex> lock{synchronization_mutex};
+ std::unique_lock lock{synchronization_mutex};
synchronization_condition.wait(lock, [this, fence] { return signaled_fence >= fence; });
}
}