forked from enlightenment/efl
evas/image - return as possible as soon.
SVN revision: 81794
This commit is contained in:
parent
fa1e49a642
commit
4079b164b7
|
@ -2846,12 +2846,11 @@ _proxy_subrender(Evas *eo_e, Evas_Object *eo_source, Eina_Bool do_async)
|
||||||
{
|
{
|
||||||
source->proxy.surface = e->engine.func->image_map_surface_new
|
source->proxy.surface = e->engine.func->image_map_surface_new
|
||||||
(e->engine.data.output, w, h, 1);
|
(e->engine.data.output, w, h, 1);
|
||||||
|
if (!source->proxy.surface) return;
|
||||||
source->proxy.w = w;
|
source->proxy.w = w;
|
||||||
source->proxy.h = h;
|
source->proxy.h = h;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!source->proxy.surface) return;
|
|
||||||
|
|
||||||
ctx = e->engine.func->context_new(e->engine.data.output);
|
ctx = e->engine.func->context_new(e->engine.data.output);
|
||||||
e->engine.func->context_color_set(e->engine.data.output, ctx, 0, 0, 0, 0);
|
e->engine.func->context_color_set(e->engine.data.output, ctx, 0, 0, 0, 0);
|
||||||
e->engine.func->context_render_op_set(e->engine.data.output, ctx, EVAS_RENDER_COPY);
|
e->engine.func->context_render_op_set(e->engine.data.output, ctx, EVAS_RENDER_COPY);
|
||||||
|
|
Loading…
Reference in New Issue