[gtk] gl renderer: Drop a dead if statement
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] gl renderer: Drop a dead if statement
- Date: Tue, 7 Jan 2020 16:35:36 +0000 (UTC)
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, ®ion, &is_offscreen,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]