Silence 'suggest braces around initialization of subobject' warning

This commit is contained in:
twinaphex 2020-06-11 17:38:11 +02:00
parent 9c1d40c364
commit d8cf551608

View File

@ -3381,7 +3381,7 @@ void vulkan_framebuffer_generate_mips(
for (i = 1; i < levels; i++) for (i = 1; i < levels; i++)
{ {
unsigned src_width, src_height, target_width, target_height; unsigned src_width, src_height, target_width, target_height;
VkImageBlit blit_region = {0}; VkImageBlit blit_region = {{0}};
/* For subsequent passes, we have to transition /* For subsequent passes, we have to transition
* from DST_OPTIMAL to SRC_OPTIMAL, * from DST_OPTIMAL to SRC_OPTIMAL,