Vulkan/CommandPool: Fix mistake when allocating more than one command buffer
Former-commit-id: 4cef29ea951e13e7b59ebf7f5f77a9d41a5f8b59 [formerly af52c81fb32875ef38fda0b86316010770ed2362] Former-commit-id: e88d9d327c3909cae49f78589c42218e79d5eed1
This commit is contained in:
parent
7649cbdd46
commit
7146ebcfbe
|
|
@ -35,7 +35,7 @@ namespace Nz
|
||||||
nullptr,
|
nullptr,
|
||||||
m_handle,
|
m_handle,
|
||||||
level,
|
level,
|
||||||
1U
|
commandBufferCount
|
||||||
};
|
};
|
||||||
|
|
||||||
std::vector<VkCommandBuffer> handles(commandBufferCount, VK_NULL_HANDLE);
|
std::vector<VkCommandBuffer> handles(commandBufferCount, VK_NULL_HANDLE);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue