tooling_info: Initialize sType/pNext in get_physical_device_tool_properties
The type and next-pointer of output structures must always be
initialized.
Fixes: ac4d046
("Added `VK_EXT_tooling_info` extension support (#310)")
This commit is contained in:
parent
6fa57a4269
commit
00abdfc17d
|
@ -30,7 +30,7 @@ impl ToolingInfo {
|
|||
&self,
|
||||
physical_device: vk::PhysicalDevice,
|
||||
) -> VkResult<Vec<vk::PhysicalDeviceToolPropertiesEXT>> {
|
||||
read_into_uninitialized_vector(|count, data| {
|
||||
read_into_defaulted_vector(|count, data| {
|
||||
self.tooling_info_fn
|
||||
.get_physical_device_tool_properties_ext(physical_device, count, data)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue