fix vulkan_framebuffer_generate_mips (msvc2017)

{0} initializer
This commit is contained in:
trioan 2020-01-25 21:14:28 -05:00 committed by GitHub
parent 36cbcb12b2
commit 0e20be17cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,