summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-10-20 23:13:29 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-11-16 22:11:32 +0100
commitbb3e95133d49878e75d800e2fc405ed5cee29318 (patch)
treeb984abe9ac81bb51000744e722761f48771df5fd /src
parentUpdate scaleforce to use FP16 (diff)
downloadyuzu-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')
-rw-r--r--src/video_core/renderer_vulkan/vk_master_semaphore.h4
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: