summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorGravatar David2020-08-04 14:06:07 +1000
committerGravatar GitHub2020-08-04 14:06:07 +1000
commit723314b682d546d83e03742eca60d03c4f7af6a9 (patch)
tree71ba4397f42d1572ce75101b01e6495af31a2e34 /src/video_core/gpu.cpp
parentMerge pull request #4474 from lioncash/hle-profile (diff)
parentyuzu: Resolve C++20 deprecation warnings related to lambda captures (diff)
downloadyuzu-723314b682d546d83e03742eca60d03c4f7af6a9.tar.gz
yuzu-723314b682d546d83e03742eca60d03c4f7af6a9.tar.xz
yuzu-723314b682d546d83e03742eca60d03c4f7af6a9.zip
Merge pull request #4481 from lioncash/cpp-dep
yuzu: Resolve C++20 deprecation warnings related to lambda captures
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 8e19c3373..512578c8b 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -81,7 +81,7 @@ void GPU::WaitFence(u32 syncpoint_id, u32 value) {
81 } 81 }
82 MICROPROFILE_SCOPE(GPU_wait); 82 MICROPROFILE_SCOPE(GPU_wait);
83 std::unique_lock lock{sync_mutex}; 83 std::unique_lock lock{sync_mutex};
84 sync_cv.wait(lock, [=]() { return syncpoints[syncpoint_id].load() >= value; }); 84 sync_cv.wait(lock, [=, this] { return syncpoints[syncpoint_id].load() >= value; });
85} 85}
86 86
87void GPU::IncrementSyncPoint(const u32 syncpoint_id) { 87void GPU::IncrementSyncPoint(const u32 syncpoint_id) {