From af45f4a558a0020ec77464a12e0cb33ea5531206 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 15 May 2015 16:07:17 -0700 Subject: [PATCH] vk: Fix warning from missing initializer Struct initializers need to be { 0, } to zero out the variable they're initializing. --- src/vulkan/meta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/meta.c b/src/vulkan/meta.c index 8fbec09e626..5091977d2ba 100644 --- a/src/vulkan/meta.c +++ b/src/vulkan/meta.c @@ -584,7 +584,7 @@ meta_emit_blit(struct anv_cmd_buffer *cmd_buffer, .sType = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO, .renderArea = { { 0, 0 }, { dest->extent.width, dest->extent.height } }, .colorAttachmentCount = 1, - .extent = { }, + .extent = { 0, }, .sampleCount = 1, .layers = 1, .pColorFormats = (VkFormat[]) { dest->format }, -- 2.30.2