forked from enlightenment/efl
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:
parent
8291c9e33e
commit
8fe237c088
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue