evas: Avoid calling render() on smart objects

Smart objects do not render themselves. This can avoid a
bit of extra unnecessary work.
This commit is contained in:
Jean-Philippe Andre 2016-11-01 12:06:22 +09:00
parent 562528d28c
commit 4d1c53d916
1 changed files with 1 additions and 1 deletions

View File

@ -1806,7 +1806,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
ENFN->context_free(ENDT, ctx);
}
else
else if (!obj->is_smart)
{
ctx = ENFN->context_dup(ENDT, context);
if (obj->cur->clipper)