vulkan: Remove double initialization

Clang said:

../gsk/vulkan/gskvulkanrenderpass.c:250:5: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
    .render.node = node
    ^~~~~~~~~~~~~~~~~~~
../gsk/vulkan/gskvulkanrenderpass.c:249:13: note: previous initialization is here
    .type = GSK_VULKAN_OP_FALLBACK,
            ^~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Timm Bäder
2020-10-10 08:42:53 +02:00
committed by Matthias Clasen
parent 4735c27e69
commit f456438051

View File

@@ -246,7 +246,6 @@ gsk_vulkan_render_pass_add_node (GskVulkanRenderPass *self,
GskRenderNode *node)
{
GskVulkanOp op = {
.type = GSK_VULKAN_OP_FALLBACK,
.render.node = node
};
GskVulkanPipelineType pipeline_type;