summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index cc43fb03ab..b71cf18b81 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -116,14 +116,10 @@ void efl_canvas_vg_node_root_set(Efl_VG *node, Efl_VG *vg
116static inline Efl_Canvas_Vg_Node_Data * 116static inline Efl_Canvas_Vg_Node_Data *
117_evas_vg_render_pre(Efl_VG *child, Ector_Surface *s, Eina_Matrix3 *m) 117_evas_vg_render_pre(Efl_VG *child, Ector_Surface *s, Eina_Matrix3 *m)
118{ 118{
119 Efl_Canvas_Vg_Node_Data *child_nd = NULL; 119 if (!child) return NULL;
120
121 // FIXME: Prevent infinite loop
122 if (child)
123 child_nd = efl_data_scope_get(child, EFL_CANVAS_VG_NODE_CLASS);
124 if (child_nd)
125 child_nd->render_pre(child, m, s, child_nd->data, child_nd);
126 120
121 Efl_Canvas_Vg_Node_Data *child_nd = efl_data_scope_get(child, EFL_CANVAS_VG_NODE_CLASS);
122 if (child_nd) child_nd->render_pre(child, m, s, child_nd->data, child_nd);
127 return child_nd; 123 return child_nd;
128} 124}
129 125