[gtk+] vulkan: Fix cross-fade node coordinates



commit 9a9aec05c07948f9d018c23688a7ec5337b30ffb
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Oct 8 11:26:53 2017 -0400

    vulkan: Fix cross-fade node coordinates
    
    This is the same fix as was just committed for blendmode nodes.

 gsk/gskvulkanrenderpass.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gskvulkanrenderpass.c b/gsk/gskvulkanrenderpass.c
index dc1a88d..a216fae 100644
--- a/gsk/gskvulkanrenderpass.c
+++ b/gsk/gskvulkanrenderpass.c
@@ -1014,14 +1014,14 @@ gsk_vulkan_render_pass_upload (GskVulkanRenderPass  *self,
                                                                             render,
                                                                             uploader,
                                                                             start,
-                                                                            &start->bounds,
+                                                                            &op->render.node->bounds,
                                                                             clip,
                                                                             &op->render.source_rect);
             op->render.source2 = gsk_vulkan_render_pass_get_node_as_texture (self,
                                                                              render,
                                                                              uploader,
                                                                              end,
-                                                                             &end->bounds,
+                                                                             &op->render.node->bounds,
                                                                              clip,
                                                                              &op->render.source2_rect);
           }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]