canvas proxy: fix broken proxy source clipping function.

The issue is proxy source clipping is not applied properly,
Obviously that is a regression bug by the code refactoring.

Found out this condition is insane, looks like a wrongly introduced.

@fix
This commit is contained in:
Hermet Park 2020-02-20 21:20:09 +09:00
parent 0416e5757f
commit 29844fd061
1 changed files with 3 additions and 4 deletions

View File

@ -2209,10 +2209,9 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
if ((_evas_render_has_map(obj) && !_evas_render_can_map(obj)) ||
_evas_render_object_is_mask(obj->cur->clipper))
evas_object_clip_recalc(obj);
if (!proxy_render_data)
_evas_render_mapped_context_clip_set(evas, eo_obj, obj, ctx,
proxy_render_data,
off_x, off_y);
_evas_render_mapped_context_clip_set(evas, eo_obj, obj, ctx,
proxy_render_data,
off_x, off_y);
}
else if (proxy_render_data)
{