Skip to content

Commit

Permalink
nv/ray_tracing: Initialize tagged struct with default() (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 authored Sep 5, 2023
1 parent 0652aee commit 3f5b96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ash/src/extensions/nv/ray_tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3f5b96b

Please sign in to comment.