From 0e20be17ccb80c3b8b359d872b8191b56d143ab4 Mon Sep 17 00:00:00 2001 From: trioan <59591885+trioan@users.noreply.github.com> Date: Sat, 25 Jan 2020 21:14:28 -0500 Subject: [PATCH] fix vulkan_framebuffer_generate_mips (msvc2017) {0} initializer --- 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 3469d937c1..f8b410b6cd 100644 --- a/gfx/common/vulkan_common.c +++ b/gfx/common/vulkan_common.c @@ -3296,7 +3296,7 @@ void vulkan_framebuffer_generate_mips( for (i = 1; i < levels; i++) { unsigned src_width, src_height, target_width, target_height; - VkImageBlit blit_region = {}; + VkImageBlit blit_region = {0}; /* For subsequent passes, we have to transition * from DST_OPTIMAL to SRC_OPTIMAL,