change vkWaitForFences call to vkGetFenceStatus
continuous-integration/drone/push Build is passing Details

pull/32/head
cosmonaut 2023-01-09 18:10:34 -08:00
parent 4cdd6a497a
commit c0c6d2f9fd
1 changed files with 2 additions and 6 deletions

View File

@ -9955,13 +9955,9 @@ static void VULKAN_Submit(
for (i = renderer->submittedCommandBufferCount - 1; i >= 0; i -= 1) for (i = renderer->submittedCommandBufferCount - 1; i >= 0; i -= 1)
{ {
/* If we set a timeout of 0, we can query the command buffer state */ vulkanResult = renderer->vkGetFenceStatus(
vulkanResult = renderer->vkWaitForFences(
renderer->logicalDevice, renderer->logicalDevice,
1, renderer->submittedCommandBuffers[i]->inFlightFence
&renderer->submittedCommandBuffers[i]->inFlightFence,
VK_TRUE,
0
); );
if (vulkanResult == VK_SUCCESS) if (vulkanResult == VK_SUCCESS)