summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/microsoft/vulkan/dzn_device.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/microsoft/vulkan/dzn_device.c b/src/microsoft/vulkan/dzn_device.c
index f0f30dd2f32..edf94ecc7b1 100644
--- a/src/microsoft/vulkan/dzn_device.c
+++ b/src/microsoft/vulkan/dzn_device.c
@@ -901,9 +901,7 @@ dzn_physical_device_get_image_format_properties(struct dzn_physical_device *pdev
const VkPhysicalDeviceExternalImageFormatInfo *external_info = NULL;
VkExternalImageFormatProperties *external_props = NULL;
- *properties = (VkImageFormatProperties2) {
- .sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2,
- };
+ properties->imageFormatProperties = (VkImageFormatProperties) { 0 };
VkImageUsageFlags usage = info->usage;