Browse Source

Vulkan: fix waiting on semaphore.

FernandoS27 4 năm trước cách đây
mục cha
commit
bb3e95133d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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: