remove unnecessary conditional in e_comp_object_render()
This commit is contained in:
parent
2a67b3a899
commit
77e8ab0926
|
@ -3819,8 +3819,6 @@ e_comp_object_render(Evas_Object *obj)
|
|||
if (e_pixmap_image_is_argb(cw->ec->pixmap))
|
||||
{
|
||||
pix = e_pixmap_image_data_get(cw->ec->pixmap);
|
||||
if (e_comp->comp_type == E_PIXMAP_TYPE_X)
|
||||
{
|
||||
EINA_ITERATOR_FOREACH(it, r)
|
||||
{
|
||||
E_RECTS_CLIP_TO_RECT(r->x, r->y, r->w, r->h, 0, 0, pw, ph);
|
||||
|
@ -3841,9 +3839,6 @@ e_comp_object_render(Evas_Object *obj)
|
|||
}
|
||||
RENDER_DEBUG("UPDATE [%p] %i %i %ix%i", cw->ec, r->x, r->y, r->w, r->h);
|
||||
}
|
||||
}
|
||||
else
|
||||
ret = EINA_TRUE;
|
||||
evas_object_image_data_set(cw->obj, cw->blanked ? NULL : pix);
|
||||
goto end;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue