forked from AuroraMiddleware/gtk
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:
parent
fe6e80fdde
commit
4d7b8f5a66
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user