elm glview - evas sync before rendering with always draw to sync right

async rendering clashes with the idle enterer glview uses to draw with
always render mode - sync first and there is no problem.
This commit is contained in:
Carsten Haitzler 2014-01-11 00:40:01 +09:00
parent 6f632b90db
commit c1ddfe77cb
1 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,8 @@ _render_cb(void *obj)
sd->resized = EINA_FALSE;
}
if (sd->render_policy == ELM_GLVIEW_RENDER_POLICY_ALWAYS)
evas_sync(evas_object_evas_get(obj));
// Call the render function
if (sd->render_func) sd->render_func(obj);