forked from enlightenment/efl
fix map bug. :) again. this time both cases work.
SVN revision: 51704
This commit is contained in:
parent
dae2c23caf
commit
00236e9c5a
|
@ -754,11 +754,14 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
|
||||||
obj->cur.geometry.y + off_y,
|
obj->cur.geometry.y + off_y,
|
||||||
obj->cur.geometry.w,
|
obj->cur.geometry.w,
|
||||||
obj->cur.geometry.h);
|
obj->cur.geometry.h);
|
||||||
|
if (!obj->cur.map)
|
||||||
|
{
|
||||||
RECTS_CLIP_TO_RECT(x, y, w, h,
|
RECTS_CLIP_TO_RECT(x, y, w, h,
|
||||||
obj->cur.cache.clip.x + off_x,
|
obj->cur.cache.clip.x + off_x,
|
||||||
obj->cur.cache.clip.y + off_y,
|
obj->cur.cache.clip.y + off_y,
|
||||||
obj->cur.cache.clip.w,
|
obj->cur.cache.clip.w,
|
||||||
obj->cur.cache.clip.h);
|
obj->cur.cache.clip.h);
|
||||||
|
}
|
||||||
e->engine.func->context_clip_set(e->engine.data.output,
|
e->engine.func->context_clip_set(e->engine.data.output,
|
||||||
ctx, x, y, w, h);
|
ctx, x, y, w, h);
|
||||||
obj->func->render(obj, e->engine.data.output, ctx,
|
obj->func->render(obj, e->engine.data.output, ctx,
|
||||||
|
@ -809,6 +812,7 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (!obj->cur.map)
|
||||||
e->engine.func->context_clip_set(e->engine.data.output,
|
e->engine.func->context_clip_set(e->engine.data.output,
|
||||||
ctx,
|
ctx,
|
||||||
obj->cur.cache.clip.x + off_x,
|
obj->cur.cache.clip.x + off_x,
|
||||||
|
|
Loading…
Reference in New Issue