[gtk] gl renderer: Drop a dead if statement



commit 9d9a7306598d7fa2cc8422097190e2047540abc7
Author: Timm Bäder <mail baedert org>
Date:   Tue Dec 3 16:16:18 2019 +0100

    gl renderer: Drop a dead if statement
    
    We already handle this earlier.

 gsk/gl/gskglrenderer.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 39789daa7e..21375fb31b 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -2204,9 +2204,6 @@ render_shadow_node (GskGLRenderer   *self,
         }
       else
         {
-          if (dx == 0 && dy == 0)
-            continue;
-
           if (!add_offscreen_ops (self, builder,
                                   &shadow_child->bounds,
                                   shadow_child, &region, &is_offscreen,


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