From d8cf551608551615a5973cc7d7b442cf16e50674 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 11 Jun 2020 17:38:11 +0200 Subject: [PATCH] Silence 'suggest braces around initialization of subobject' warning --- gfx/common/vulkan_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/common/vulkan_common.c b/gfx/common/vulkan_common.c index 7f05ecae7a..9ea17d0db2 100644 --- a/gfx/common/vulkan_common.c +++ b/gfx/common/vulkan_common.c @@ -3381,7 +3381,7 @@ void vulkan_framebuffer_generate_mips( for (i = 1; i < levels; i++) { unsigned src_width, src_height, target_width, target_height; - VkImageBlit blit_region = {0}; + VkImageBlit blit_region = {{0}}; /* For subsequent passes, we have to transition * from DST_OPTIMAL to SRC_OPTIMAL,