diff options
author | Fernando S <fsahmkow27@gmail.com> | 2022-01-04 14:16:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 14:16:24 +0100 |
commit | 118d5fa3b0fdc070f57916203dbbb999fe7e3c69 (patch) | |
tree | dcea9a661fb5595fd255fa62e81d82c9a3aef822 /src/core/hle | |
parent | Merge pull request #7251 from FernandoS27/shader-dump (diff) | |
parent | gpu: Add shut down method to synchronize threads before destruction (diff) | |
download | yuzu-118d5fa3b0fdc070f57916203dbbb999fe7e3c69.tar yuzu-118d5fa3b0fdc070f57916203dbbb999fe7e3c69.tar.gz yuzu-118d5fa3b0fdc070f57916203dbbb999fe7e3c69.tar.bz2 yuzu-118d5fa3b0fdc070f57916203dbbb999fe7e3c69.tar.lz yuzu-118d5fa3b0fdc070f57916203dbbb999fe7e3c69.tar.xz yuzu-118d5fa3b0fdc070f57916203dbbb999fe7e3c69.tar.zst yuzu-118d5fa3b0fdc070f57916203dbbb999fe7e3c69.zip |
Diffstat (limited to '')
-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(); |