forked from enlightenment/efl
canvas proxy: fix broken proxy source clip set behavior.
Some internal logic has been wrongly changed while it's on refactoring. Fixed by reverting it.
This commit is contained in:
parent
4f99a37aee
commit
fbf792896f
|
@ -2156,7 +2156,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
|
|||
_evas_render_mapped_mask(evas, obj, obj->cur->clipper, proxy_render_data, output, ctx, off_x, off_y, level, do_async);
|
||||
else if (!proxy_src_clip && proxy_render_data)
|
||||
{
|
||||
if (!_proxy_context_clip(evas, ctx, proxy_render_data, proxy_render_data->proxy_obj, off_x, off_y))
|
||||
if (!_proxy_context_clip(evas, ctx, proxy_render_data, obj, off_x, off_y))
|
||||
goto on_empty_clip;
|
||||
}
|
||||
|
||||
|
@ -2216,7 +2216,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
|
|||
}
|
||||
else if (proxy_render_data)
|
||||
{
|
||||
if (!_proxy_context_clip(evas, ctx, proxy_render_data, proxy_render_data->proxy_obj, off_x, off_y))
|
||||
if (!_proxy_context_clip(evas, ctx, proxy_render_data, obj, off_x, off_y))
|
||||
goto on_empty_clip;
|
||||
}
|
||||
}
|
||||
|
@ -2274,7 +2274,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
|
|||
}
|
||||
else if (proxy_render_data)
|
||||
{
|
||||
if (!_proxy_context_clip(evas, ctx, proxy_render_data, proxy_render_data->proxy_obj, off_x, off_y))
|
||||
if (!_proxy_context_clip(evas, ctx, proxy_render_data, obj, off_x, off_y))
|
||||
goto on_empty_clip;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue