canvas vg: fix wrong key pass for caching surface.

There is a wrong case that fails caching ector surfaces.
Those vector objects manually constructing shapes,
passed wrong pointer as the cacahing key instead of root node pointer.

This fixes it.
This commit is contained in:
Hermet Park 2019-04-02 15:17:24 +09:00
parent d3a8f0f250
commit 08c65ed501
1 changed files with 2 additions and 2 deletions

View File

@ -547,7 +547,7 @@ _user_vg_entry_render(Evas_Object_Protected_Data *obj,
{
// render to the buffer
buffer = _render_to_buffer(obj, pd, engine, user_entry->root,
w, h, user_entry, buffer,
w, h, user_entry->root, buffer,
do_async);
}
else
@ -557,7 +557,7 @@ _user_vg_entry_render(Evas_Object_Protected_Data *obj,
buffer = _render_to_buffer(obj, pd, engine,
user_entry->root,
w, h,
user_entry,
user_entry->root,
buffer,
do_async);
//cache reference was increased when we get the cache.