diff --git a/ash/src/extensions/nv/ray_tracing.rs b/ash/src/extensions/nv/ray_tracing.rs index c77b144..a92012c 100755 --- a/ash/src/extensions/nv/ray_tracing.rs +++ b/ash/src/extensions/nv/ray_tracing.rs @@ -57,7 +57,7 @@ impl RayTracing { &self, info: &vk::AccelerationStructureMemoryRequirementsInfoNV, ) -> vk::MemoryRequirements2KHR { - let mut requirements = mem::zeroed(); + let mut requirements = Default::default(); (self.fp.get_acceleration_structure_memory_requirements_nv)( self.handle, info,