evas_render: Fix invalid clip

Test case: elementary_test -to "Evas Map 3D"
The cube was clipped to its top-left corner.

What's really weird is that this code patch is for non-mapped
objects.
This commit is contained in:
Jean-Philippe Andre 2015-09-15 18:23:27 +09:00
parent 8291c9e33e
commit 8fe237c088
1 changed files with 0 additions and 4 deletions

View File

@ -1730,11 +1730,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
}
else
{
const Evas_Coord_Rectangle *clip = &obj->cur->geometry;
ctx = ENFN->context_dup(ENDT, context);
ENFN->context_clip_clip(ENDT, ctx, clip->x + off_x, clip->y + off_y, clip->w, clip->h);
if (obj->cur->clipper)
{
Evas_Object_Protected_Data *clipper = obj->cur->clipper;