summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-09-15 18:23:27 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-09-15 18:29:01 +0900
commit8fe237c08897de07bb9563bfe6dfaf385a0d8244 (patch)
treee6cd5d8ec6795f3af418d068c14a3c39fedae4bf
parent8291c9e33e3c005993a1b28b278d1c4a2e4d314d (diff)
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.
-rw-r--r--src/lib/evas/canvas/evas_render.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index aee5a131b3..772be0ecd1 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -1730,11 +1730,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
1730 } 1730 }
1731 else 1731 else
1732 { 1732 {
1733 const Evas_Coord_Rectangle *clip = &obj->cur->geometry;
1734
1735 ctx = ENFN->context_dup(ENDT, context); 1733 ctx = ENFN->context_dup(ENDT, context);
1736 ENFN->context_clip_clip(ENDT, ctx, clip->x + off_x, clip->y + off_y, clip->w, clip->h);
1737
1738 if (obj->cur->clipper) 1734 if (obj->cur->clipper)
1739 { 1735 {
1740 Evas_Object_Protected_Data *clipper = obj->cur->clipper; 1736 Evas_Object_Protected_Data *clipper = obj->cur->clipper;