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)
{
/* If we set a timeout of 0, we can query the command buffer state */
vulkanResult = renderer->vkWaitForFences(
vulkanResult = renderer->vkGetFenceStatus(
renderer->logicalDevice,
1,
&renderer->submittedCommandBuffers[i]->inFlightFence,
VK_TRUE,
0
renderer->submittedCommandBuffers[i]->inFlightFence
);
if (vulkanResult == VK_SUCCESS)