This commit is contained in:
Greg Wells
2025-07-12 17:01:42 -04:00
parent a385f6f549
commit af480745e5

View File

@@ -98,10 +98,8 @@ gnReturnCode getPresentQueueImageAsync(gnPresentationQueueHandle presentationQue
presentationQueue->outputDevice->outputDevice->device,
presentationQueue->presentationQueue->swapChain,
timeout, semaphore->semaphore->semaphore, VK_NULL_HANDLE, imageIndex);
if (result == VK_ERROR_OUT_OF_DATE_KHR) return GN_OUT_OF_DATE_PRESENTATION_QUEUE;
if (result == VK_SUBOPTIMAL_KHR) return GN_SUBOPTIMAL_PRESENTATION_QUEUE;
return GN_SUCCESS;
}