Closed sunbearc22 closed 7 years ago
Hello @sunbearc22, it's strange because this function can't return None
. Can you show how you initialize
self.fnp['vkQueuePresentKHR']
Yes. I just uploaded my codes https://github.com/sunbearc22/vulkan_examples/blob/master/HelloTriangle/vulkanbase_v3_recreateSwapChain.py#L208. version 3 codes.
My last comment was wrong.
It's normal that it returns None
. All functions return None
with the wrapper. To catch the return value, you must use the exception system.
Hi realitix, Is the function
vkQueuePresentKHR
suppose to returnNone
orVkResult
? I was expecting the latter.I am attempting the resizeable window tutorial of Vulkan Tutorial. I noticed that
vkQueuePresentKHR
returnsNone
.Output: