[librsvg] NodeUse: draw_in_viewport() already pushes a layer; no need to push another one
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] NodeUse: draw_in_viewport() already pushes a layer; no need to push another one
- Date: Sat, 16 Jun 2018 01:42:35 +0000 (UTC)
commit 953cd157c1af54d553276fef52253257e18f38cf
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Jun 15 20:41:54 2018 -0500
NodeUse: draw_in_viewport() already pushes a layer; no need to push another one
rsvg_internals/src/structure.rs | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/rsvg_internals/src/structure.rs b/rsvg_internals/src/structure.rs
index 95c2e371..63a9c852 100644
--- a/rsvg_internals/src/structure.rs
+++ b/rsvg_internals/src/structure.rs
@@ -352,7 +352,6 @@ impl NodeTrait for NodeUse {
draw_ctx,
clipping,
|| {
- drawing_ctx::push_discrete_layer(draw_ctx, values, clipping);
child.draw_children(
&child,
&CascadedValues::new_from_values(&child, values),
@@ -360,7 +359,6 @@ impl NodeTrait for NodeUse {
false,
clipping,
);
- drawing_ctx::pop_discrete_layer(draw_ctx, node, values, clipping);
},
);
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]