[gtk/wip/chergert/glproto: 439/493] remove unnecessary rectilinear call




commit acf206d07ca2efa120fa2acab30581502c1be238
Author: Christian Hergert <chergert redhat com>
Date:   Wed Feb 10 15:48:28 2021 -0800

    remove unnecessary rectilinear call

 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 01ab20587a..69ed41ac3e 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -1410,7 +1410,7 @@ gsk_gl_render_job_visit_rounded_clip_node (GskGLRenderJob      *job,
       transformed_clip.corner[i].height = clip->corner[i].height * scale_y;
     }
 
-  if (gsk_rounded_rect_is_rectilinear (&job->current_clip->rect))
+  if (job->current_clip->is_rectilinear)
     {
       GskRoundedRect intersected_clip;
 


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