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:
committed by
Matthias Clasen
parent
4735c27e69
commit
f456438051
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user