Vulkan/Swapchain: Fix compilation

Former-commit-id: 22679aa8e212c63360903f3094a60441323b488a
This commit is contained in:
Lynix
2016-05-14 15:41:26 +02:00
parent 4996901816
commit 1346c3e2c0
2 changed files with 16 additions and 0 deletions

View File

@@ -21,6 +21,16 @@ namespace Nz
if (!m_device.IsExtensionLoaded("VK_KHR_swapchain"))
return false;
}
VkResult Swapchain::CreateHelper(Device& device, const VkSwapchainCreateInfoKHR* createInfo, const VkAllocationCallbacks* allocator, VkSwapchainKHR* handle)
{
return device.vkCreateSwapchainKHR(device, createInfo, allocator, handle);
}
void Swapchain::DestroyHelper(Device& device, VkSwapchainKHR handle, const VkAllocationCallbacks* allocator)
{
return device.vkDestroySwapchainKHR(device, handle, allocator);
}
}
}