Преглед на файлове

Vulkan: fix waiting on semaphore.

FernandoS27 преди 4 години
родител
ревизия
bb3e95133d
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  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: