canvas vg: move a comment to right place.

no any logic changes.
This commit is contained in:
Hermet Park 2018-06-07 19:14:30 +09:00
parent 7fb47fc064
commit af565966e8
1 changed files with 2 additions and 1 deletions

View File

@ -490,10 +490,11 @@ _cache_vg_entry_render(Evas_Object_Protected_Data *obj,
w, h);
vd->vg_entry = vg_entry;
}
// if the buffer is not created yet
root = evas_cache_vg_tree_get(vg_entry);
if (!root) return;
buffer = obj->layer->evas->engine.func->ector_surface_cache_get(engine, root);
// if the buffer is not created yet
if (!buffer)
{
dupe_root = efl_duplicate(root);