goto fail_present;
}
+ result = wsi->ResetFences(device, 1, &swapchain->fences[image_index]);
+ if (result != VK_SUCCESS)
+ goto fail_present;
+
struct wsi_image *image =
swapchain->get_wsi_image(swapchain, image_index);
submit_info.pWaitDstStageMask = stage_flags;
}
- result = wsi->ResetFences(device, 1, &swapchain->fences[image_index]);
- if (result != VK_SUCCESS)
- goto fail_present;
-
VkFence fence = swapchain->fences[image_index];
if (swapchain->use_buffer_blit) {
if (swapchain->buffer_blit_queue == VK_NULL_HANDLE) {