diff --git a/inc/hgl/graph/vulkan/VKPhysicalDevice.h b/inc/hgl/graph/vulkan/VKPhysicalDevice.h index 4a452dc7..735212ff 100644 --- a/inc/hgl/graph/vulkan/VKPhysicalDevice.h +++ b/inc/hgl/graph/vulkan/VKPhysicalDevice.h @@ -67,6 +67,8 @@ public: { VkFormatProperties fp; + hgl_zero(fp); + vkGetPhysicalDeviceFormatProperties(physical_device,format,&fp); return fp;