diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-03 17:28:18 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-03 17:54:04 +0200 |
commit | b249e4e0ce15c44bd0d917a17f79510af868173b (patch) | |
tree | d4dc63a692c446e87ee614481030af16385e88ba /src/video_core | |
parent | ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer (#4465) (diff) | |
download | yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar.gz yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar.bz2 yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar.lz yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar.xz yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar.zst yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.zip |
Diffstat (limited to '')
-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) { |