Forgot file
Former-commit-id: 00488f8e71b9dc9127884e9bffae8dc8895fc589 [formerly 7401cef459b75700ed17e2374c9f564da7a233cf] Former-commit-id: 19b700504bb69f895694705d8a8168ad53f8d239
This commit is contained in:
parent
113f99e2d1
commit
c0d8beb11b
|
|
@ -22,7 +22,7 @@ namespace Nz
|
|||
};
|
||||
|
||||
VkCommandBuffer handle = VK_NULL_HANDLE;
|
||||
m_lastErrorCode = m_device.vkAllocateCommandBuffers(m_device, &createInfo, &handle);
|
||||
m_lastErrorCode = m_device->vkAllocateCommandBuffers(*m_device, &createInfo, &handle);
|
||||
|
||||
return CommandBuffer(*this, handle);
|
||||
}
|
||||
|
|
@ -39,7 +39,7 @@ namespace Nz
|
|||
};
|
||||
|
||||
std::vector<VkCommandBuffer> handles(commandBufferCount, VK_NULL_HANDLE);
|
||||
m_lastErrorCode = m_device.vkAllocateCommandBuffers(m_device, &createInfo, handles.data());
|
||||
m_lastErrorCode = m_device->vkAllocateCommandBuffers(*m_device, &createInfo, handles.data());
|
||||
if (m_lastErrorCode != VkResult::VK_SUCCESS)
|
||||
return std::vector<CommandBuffer>();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue