diff --git a/vulkano/src/buffer/cpu_pool.rs b/vulkano/src/buffer/cpu_pool.rs index a715b561..1367adce 100644 --- a/vulkano/src/buffer/cpu_pool.rs +++ b/vulkano/src/buffer/cpu_pool.rs @@ -444,7 +444,7 @@ where _ => unreachable!(), })?; let mut requirements = *raw_buffer.memory_requirements(); - requirements.alignment = DeviceSize::max(requirements.alignment, align_of::() as DeviceSize); + requirements.alignment = DeviceSize::max(requirements.alignment, align_of::() as DeviceSize); let create_info = AllocationCreateInfo { requirements, allocation_type: AllocationType::Linear,