forked from enlightenment/efl
evas: no need to get the data if it is not the right type of object.
This commit is contained in:
parent
c57cf86d6f
commit
f1e3c7f41f
|
@ -128,13 +128,14 @@ _evas_vg_render(Evas_Object_Protected_Data *obj, Evas_VG_Data *vd,
|
||||||
void *output, void *context, void *surface, Efl_VG *n,
|
void *output, void *context, void *surface, Efl_VG *n,
|
||||||
Eina_Array *clips, Eina_Bool do_async)
|
Eina_Array *clips, Eina_Bool do_async)
|
||||||
{
|
{
|
||||||
Efl_VG_Container_Data *vc = eo_data_scope_get(n, EFL_VG_CONTAINER_CLASS);
|
|
||||||
|
|
||||||
if (eo_isa(n, EFL_VG_CONTAINER_CLASS))
|
if (eo_isa(n, EFL_VG_CONTAINER_CLASS))
|
||||||
{
|
{
|
||||||
|
Efl_VG_Container_Data *vc;
|
||||||
Efl_VG *child;
|
Efl_VG *child;
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
|
|
||||||
|
vc = eo_data_scope_get(n, EFL_VG_CONTAINER_CLASS);
|
||||||
|
|
||||||
EINA_LIST_FOREACH(vc->children, l, child)
|
EINA_LIST_FOREACH(vc->children, l, child)
|
||||||
_evas_vg_render(obj, vd,
|
_evas_vg_render(obj, vd,
|
||||||
output, context, surface, child,
|
output, context, surface, child,
|
||||||
|
|
Loading…
Reference in New Issue