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,