summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-14 14:18:44 +0200
committerLioncash <mathew1800@gmail.com>2019-05-14 14:18:48 +0200
commitd6d809db87750a1e47d7a2a2d3f5e2d59d94f146 (patch)
tree1bd68b545096dd9c07d03e619343d5d23ec3a8fe /src/video_core/gpu_thread.cpp
parentMerge pull request #2462 from lioncash/video-mm (diff)
downloadyuzu-d6d809db87750a1e47d7a2a2d3f5e2d59d94f146.tar
yuzu-d6d809db87750a1e47d7a2a2d3f5e2d59d94f146.tar.gz
yuzu-d6d809db87750a1e47d7a2a2d3f5e2d59d94f146.tar.bz2
yuzu-d6d809db87750a1e47d7a2a2d3f5e2d59d94f146.tar.lz
yuzu-d6d809db87750a1e47d7a2a2d3f5e2d59d94f146.tar.xz
yuzu-d6d809db87750a1e47d7a2a2d3f5e2d59d94f146.tar.zst
yuzu-d6d809db87750a1e47d7a2a2d3f5e2d59d94f146.zip
Diffstat (limited to '')
-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) {
// 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; });
}
}