First render !!!
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 1s

This commit is contained in:
Florian RICHER 2024-11-22 17:06:39 +01:00
parent 2590db0a06
commit c0367144a6
9 changed files with 123 additions and 70 deletions

View file

@ -12,7 +12,9 @@ pub struct VkCommandPool {
impl VkCommandPool {
pub fn new(device: &Arc<VkDevice>) -> VkResult<Self> {
let command_pool_info =
vk::CommandPoolCreateInfo::default().queue_family_index(device.queue_family_index);
vk::CommandPoolCreateInfo::default()
.flags(vk::CommandPoolCreateFlags::RESET_COMMAND_BUFFER)
.queue_family_index(device.queue_family_index);
let command_pool = unsafe {
device
.handle