evas: probably another needed patch for clipping issue with map.

No need to update ChangeLog as it is the part of yesterday patch.


SVN revision: 57800
This commit is contained in:
Cedric BAIL 2011-03-16 13:59:13 +00:00
parent ab3150b53e
commit 564526ef38
1 changed files with 5 additions and 0 deletions

View File

@ -934,6 +934,11 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
y = obj->cur.cache.clip.y;
w = obj->cur.cache.clip.w;
h = obj->cur.cache.clip.h;
RECTS_CLIP_TO_RECT(x, y, w, h,
obj->cur.clipper->cur.cache.clip.x,
obj->cur.clipper->cur.cache.clip.y,
obj->cur.clipper->cur.cache.clip.w,
obj->cur.clipper->cur.cache.clip.h);
e->engine.func->context_clip_set(e->engine.data.output,
e->engine.data.context,
x + off_x, y + off_y, w, h);