Parcourir la source

Vulkan: fix waiting on semaphore.

FernandoS27 il y a 4 ans
Parent
commit
bb3e95133d
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/video_core/renderer_vulkan/vk_master_semaphore.h

+ 3 - 1
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: