forked from enlightenment/enlightenment
parent
a111090fa4
commit
0f091f6dd9
|
@ -707,6 +707,7 @@ _ds_shadow_recalc(Shadow *sh)
|
|||
{
|
||||
Eina_List *l, *ll;
|
||||
Shpix *sp;
|
||||
Tilebuf *tb;
|
||||
int shw, shh, bsz;
|
||||
int x1, yy1, x2, y2;
|
||||
|
||||
|
@ -726,10 +727,7 @@ _ds_shadow_recalc(Shadow *sh)
|
|||
}
|
||||
|
||||
sp = _ds_shpix_new(shw + (bsz * 2), shh + (bsz * 2));
|
||||
if (sp)
|
||||
{
|
||||
Tilebuf *tb;
|
||||
|
||||
if (!sp) return;
|
||||
_ds_shadow_obj_shutdown(sh);
|
||||
if (!rects)
|
||||
{
|
||||
|
@ -850,12 +848,10 @@ _ds_shadow_recalc(Shadow *sh)
|
|||
_ds_shpix_object_set(sp, so->obj,
|
||||
r->x, r->y, r->w, r->h);
|
||||
}
|
||||
_ds_shpix_free(sp);
|
||||
|
||||
_tilebuf_free_render_rects(brects);
|
||||
_tilebuf_free(tb);
|
||||
}
|
||||
}
|
||||
_ds_shpix_free(sp);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue