[gtk/wip/baedert/gl-rework: 112/176] gl renderer: Drop a dead if statement
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/gl-rework: 112/176] gl renderer: Drop a dead if statement
- Date: Sun, 29 Dec 2019 15:15:47 +0000 (UTC)
commit 3878bcea1c1f5fd068cd01b757bc612584828694
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, ®ion, &is_offscreen,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]