early-access version 2369

This commit is contained in:
pineappleEA
2022-01-04 02:40:02 +01:00
parent 0ee7c35877
commit d2a21afa95
4 changed files with 11 additions and 16 deletions

View File

@@ -266,10 +266,11 @@ void NVFlinger::Compose() {
auto& gpu = system.GPU();
const auto& multi_fence = buffer->get().multi_fence;
const auto stop_token = vsync_thread.get_stop_token();
guard->unlock();
for (u32 fence_id = 0; fence_id < multi_fence.num_fences; fence_id++) {
const auto& fence = multi_fence.fences[fence_id];
gpu.WaitFence(fence.id, fence.value);
gpu.WaitFence(fence.id, fence.value, stop_token);
}
guard->lock();