forked from enlightenment/enlightenment
parent
77fda764ed
commit
b2e8f4cd5a
|
@ -151,6 +151,7 @@ _e_mod_comp_update_rects_get(Update *up)
|
|||
int x, y;
|
||||
unsigned char *t, *t2, *t3;
|
||||
|
||||
if (!up->tiles) return NULL;
|
||||
r = calloc((up->tw * up->th) + 1, sizeof(Update_Rect));
|
||||
if (!r) return NULL;
|
||||
t = up->tiles;
|
||||
|
@ -250,6 +251,8 @@ _e_mod_comp_cb_animator(void *data)
|
|||
|
||||
cw->update = 0;
|
||||
r = _e_mod_comp_update_rects_get(cw->up);
|
||||
if (r)
|
||||
{
|
||||
_e_mod_comp_update_clear(cw->up);
|
||||
if (cw->xim)
|
||||
{
|
||||
|
@ -269,6 +272,7 @@ _e_mod_comp_cb_animator(void *data)
|
|||
evas_object_image_data_update_add(cw->obj, x, y, w, h);
|
||||
}
|
||||
}
|
||||
}
|
||||
free(r);
|
||||
}
|
||||
ecore_evas_manual_render(c->ee);
|
||||
|
|
Loading…
Reference in New Issue