vulkan: Fix blendmode coordinate handling

We were node handling coordinates correctly when dealing
with differently sized child nodes in a blendmode node.
This was showing up in the gtk4-demo css blendmode example,
for blendmodes other than normal.
This commit is contained in:
Matthias Clasen 2017-10-08 09:00:56 -04:00
parent fe6e80fdde
commit 4d7b8f5a66

View File

@ -1036,14 +1036,14 @@ gsk_vulkan_render_pass_upload (GskVulkanRenderPass *self,
render,
uploader,
top,
&top->bounds,
&op->render.node->bounds,
clip,
&op->render.source_rect);
op->render.source2 = gsk_vulkan_render_pass_get_node_as_texture (self,
render,
uploader,
bottom,
&bottom->bounds,
&op->render.node->bounds,
clip,
&op->render.source2_rect);
}