mirror of https://github.com/snes9xgit/snes9x.git
vulkan: Actually submit one-time command buffer.
This commit is contained in:
parent
3ab8f006cb
commit
bfdbc28357
|
@ -272,7 +272,7 @@ void Context::end_cmd_buffer()
|
|||
one_time_use_cmd.end();
|
||||
vk::SubmitInfo submit_info{};
|
||||
submit_info.setCommandBuffers(one_time_use_cmd);
|
||||
queue.submit(vk::SubmitInfo());
|
||||
queue.submit(submit_info);
|
||||
queue.waitIdle();
|
||||
device.freeCommandBuffers(command_pool.get(), one_time_use_cmd);
|
||||
one_time_use_cmd = nullptr;
|
||||
|
|
Loading…
Reference in New Issue