Silence 'suggest braces around initialization of subobject' warning
This commit is contained in:
parent
9c1d40c364
commit
d8cf551608
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue