diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-10-20 23:13:29 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:32 +0100 |
commit | bb3e95133d49878e75d800e2fc405ed5cee29318 (patch) | |
tree | b984abe9ac81bb51000744e722761f48771df5fd /src/video_core/renderer_vulkan/vk_master_semaphore.h | |
parent | Update scaleforce to use FP16 (diff) | |
download | yuzu-bb3e95133d49878e75d800e2fc405ed5cee29318.tar yuzu-bb3e95133d49878e75d800e2fc405ed5cee29318.tar.gz yuzu-bb3e95133d49878e75d800e2fc405ed5cee29318.tar.bz2 yuzu-bb3e95133d49878e75d800e2fc405ed5cee29318.tar.lz yuzu-bb3e95133d49878e75d800e2fc405ed5cee29318.tar.xz yuzu-bb3e95133d49878e75d800e2fc405ed5cee29318.tar.zst yuzu-bb3e95133d49878e75d800e2fc405ed5cee29318.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_master_semaphore.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_master_semaphore.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_master_semaphore.h b/src/video_core/renderer_vulkan/vk_master_semaphore.h index 0886b7da8..9be9c9bed 100644 --- a/src/video_core/renderer_vulkan/vk_master_semaphore.h +++ b/src/video_core/renderer_vulkan/vk_master_semaphore.h @@ -70,7 +70,9 @@ public: return; } // If none of the above is hit, fallback to a regular wait - semaphore.Wait(tick); + while (!semaphore.Wait(tick)) { + } + Refresh(); } private: |