Merge pull request #58589 from BastiaanOlij/vulkan_openxr_use_proper_handle
Use VK_NULL_HANDLE when initializing XrSwapchainImageVulkanKHR
This commit is contained in:
commit
ff877adf0f
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ bool OpenXRVulkanExtension::get_swapchain_image_data(XrSwapchain p_swapchain, in
|
|||
for (uint64_t i = 0; i < swapchain_length; i++) {
|
||||
images[i].type = XR_TYPE_SWAPCHAIN_IMAGE_VULKAN_KHR;
|
||||
images[i].next = nullptr;
|
||||
images[i].image = nullptr;
|
||||
images[i].image = VK_NULL_HANDLE;
|
||||
}
|
||||
|
||||
result = xrEnumerateSwapchainImages(p_swapchain, swapchain_length, &swapchain_length, (XrSwapchainImageBaseHeader *)images);
|
||||
|
|
Loading…
Reference in a new issue