mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
vk: Fix inadvertent self-assign
This commit is contained in:
parent
d2de8a87bf
commit
4bef176e9b
1 changed files with 2 additions and 2 deletions
|
@ -8,10 +8,10 @@ namespace vk
|
|||
// This queue flushing method to be implemented by the backend as behavior depends on config
|
||||
void queue_submit(VkQueue queue, const VkSubmitInfo* info, fence* pfence, VkBool32 flush = VK_FALSE);
|
||||
|
||||
void command_pool::create(vk::render_device& dev, u32 queue_family)
|
||||
void command_pool::create(vk::render_device& dev, u32 queue_family_id)
|
||||
{
|
||||
owner = &dev;
|
||||
queue_family = queue_family;
|
||||
queue_family = queue_family_id;
|
||||
|
||||
VkCommandPoolCreateInfo infos = {};
|
||||
infos.flags = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT | VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT;
|
||||
|
|
Loading…
Add table
Reference in a new issue