diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2020-08-04 14:06:07 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-04 14:06:07 +1000 |
commit | 723314b682d546d83e03742eca60d03c4f7af6a9 (patch) | |
tree | 71ba4397f42d1572ce75101b01e6495af31a2e34 /src/video_core/gpu.cpp | |
parent | 25fb7cd16dc64e6fe1b8ef8e15cc846afebd5dfa (diff) | |
parent | b249e4e0ce15c44bd0d917a17f79510af868173b (diff) |
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.cpp | 2 |
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) { } MICROPROFILE_SCOPE(GPU_wait); std::unique_lock lock{sync_mutex}; - sync_cv.wait(lock, [=]() { return syncpoints[syncpoint_id].load() >= value; }); + sync_cv.wait(lock, [=, this] { return syncpoints[syncpoint_id].load() >= value; }); } void GPU::IncrementSyncPoint(const u32 syncpoint_id) { |