diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-01-04 02:28:54 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-01-04 02:28:54 +0100 |
commit | 76525432317fcc4b4847c5414bed6660c85e582b (patch) | |
tree | 38f9f01b22cb2bc4cd1c012725094133b7587d22 /src/core | |
parent | Merge pull request #7668 from ameerj/fence-stop-token (diff) | |
download | yuzu-76525432317fcc4b4847c5414bed6660c85e582b.tar yuzu-76525432317fcc4b4847c5414bed6660c85e582b.tar.gz yuzu-76525432317fcc4b4847c5414bed6660c85e582b.tar.bz2 yuzu-76525432317fcc4b4847c5414bed6660c85e582b.tar.lz yuzu-76525432317fcc4b4847c5414bed6660c85e582b.tar.xz yuzu-76525432317fcc4b4847c5414bed6660c85e582b.tar.zst yuzu-76525432317fcc4b4847c5414bed6660c85e582b.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp index 396cc5afa..a22811ec1 100644 --- a/src/core/hle/service/nvflinger/nvflinger.cpp +++ b/src/core/hle/service/nvflinger/nvflinger.cpp @@ -266,11 +266,10 @@ void NVFlinger::Compose() { auto& gpu = system.GPU(); const auto& multi_fence = buffer->get().multi_fence; - const auto stop_token = vsync_thread.get_stop_token(); guard->unlock(); for (u32 fence_id = 0; fence_id < multi_fence.num_fences; fence_id++) { const auto& fence = multi_fence.fences[fence_id]; - gpu.WaitFence(fence.id, fence.value, stop_token); + gpu.WaitFence(fence.id, fence.value); } guard->lock(); |