[gtk/wip/chergert/glproto: 374/526] fix clipped child bounds




commit d18f785a5d1c20f46c2ce84fe1687256c593d080
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jan 29 14:22:13 2021 -0800

    fix clipped child bounds

 gsk/next/gskglrenderjob.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/next/gskglrenderjob.c b/gsk/next/gskglrenderjob.c
index 42de1d6aca..bec0683214 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -3267,7 +3267,7 @@ gsk_gl_render_job_visit_repeat_node (GskGLRenderJob *job,
    * of the child texture... */
   if (rect_contains_rect (child_bounds, &node->bounds))
     {
-      gsk_gl_render_job_visit_clipped_child (job, child, child_bounds);
+      gsk_gl_render_job_visit_clipped_child (job, child, &node->bounds);
       return;
     }
 


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