Initialize MemoryRequirements with Default

This commit is contained in:
Friz64 2020-04-21 13:23:09 +02:00 committed by Benjamin Saunders
parent da5de66ba4
commit 3eeb78f214

View file

@ -72,7 +72,7 @@ impl RayTracing {
&self,
info: &vk::AccelerationStructureMemoryRequirementsInfoKHR,
) -> vk::MemoryRequirements2KHR {
let mut requirements = mem::zeroed();
let mut requirements = Default::default();
self.ray_tracing_fn
.get_acceleration_structure_memory_requirements_khr(
self.handle,