Vulkan/CommandPool: Fix linking error

Former-commit-id: 89988bc96174b5531a7ed1478cf8486ef6c50289
This commit is contained in:
Lynix
2016-05-19 09:03:49 +02:00
parent e536f1c962
commit 358f0ea87b
2 changed files with 5 additions and 5 deletions

View File

@@ -38,12 +38,12 @@ namespace Nz
return true;
}
VkResult CommandPool::CreateHelper(Device& device, const VkCommandPoolCreateInfo* createInfo, const VkAllocationCallbacks* allocator, VkCommandPool* handle)
inline VkResult CommandPool::CreateHelper(Device& device, const VkCommandPoolCreateInfo* createInfo, const VkAllocationCallbacks* allocator, VkCommandPool* handle)
{
return device.vkCreateCommandPool(device, createInfo, allocator, handle);
}
void CommandPool::DestroyHelper(Device& device, VkCommandPool handle, const VkAllocationCallbacks* allocator)
inline void CommandPool::DestroyHelper(Device& device, VkCommandPool handle, const VkAllocationCallbacks* allocator)
{
return device.vkDestroyCommandPool(device, handle, allocator);
}