Vulkan/Device: Improve and rename GetDeviceQueue method
Former-commit-id: 05c53b64d79411cc093d885457f0c7eb68364059
This commit is contained in:
@@ -31,9 +31,12 @@ namespace Nz
|
||||
}
|
||||
}
|
||||
|
||||
inline void Device::GetDeviceQueue(UInt32 queueFamilyIndex, UInt32 queueIndex, VkQueue* queue)
|
||||
inline VkQueue Device::GetQueue(UInt32 queueFamilyIndex, UInt32 queueIndex)
|
||||
{
|
||||
return vkGetDeviceQueue(m_device, queueFamilyIndex, queueIndex, queue);
|
||||
VkQueue queue;
|
||||
vkGetDeviceQueue(m_device, queueFamilyIndex, queueIndex, &queue);
|
||||
|
||||
return queue;
|
||||
}
|
||||
|
||||
inline Instance& Device::GetInstance()
|
||||
|
||||
Reference in New Issue
Block a user