Merge pull request #10062 from trioan/fixes

fix vulkan_framebuffer_generate_mips (msvc2017)
This commit is contained in:
Twinaphex 2020-01-26 15:08:06 +01:00 committed by GitHub
commit 4a931c3bef
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,