summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_image.c')
-rw-r--r--src/lib/evas/canvas/evas_object_image.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index 62ae5307b3..2296d57268 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -2846,12 +2846,11 @@ _proxy_subrender(Evas *eo_e, Evas_Object *eo_source, Eina_Bool do_async)
2846 { 2846 {
2847 source->proxy.surface = e->engine.func->image_map_surface_new 2847 source->proxy.surface = e->engine.func->image_map_surface_new
2848 (e->engine.data.output, w, h, 1); 2848 (e->engine.data.output, w, h, 1);
2849 if (!source->proxy.surface) return;
2849 source->proxy.w = w; 2850 source->proxy.w = w;
2850 source->proxy.h = h; 2851 source->proxy.h = h;
2851 } 2852 }
2852 2853
2853 if (!source->proxy.surface) return;
2854
2855 ctx = e->engine.func->context_new(e->engine.data.output); 2854 ctx = e->engine.func->context_new(e->engine.data.output);
2856 e->engine.func->context_color_set(e->engine.data.output, ctx, 0, 0, 0, 0); 2855 e->engine.func->context_color_set(e->engine.data.output, ctx, 0, 0, 0, 0);
2857 e->engine.func->context_render_op_set(e->engine.data.output, ctx, EVAS_RENDER_COPY); 2856 e->engine.func->context_render_op_set(e->engine.data.output, ctx, EVAS_RENDER_COPY);