From d82c0ae1bfb4a0e15858dc5f2b52d4b103a0d32b Mon Sep 17 00:00:00 2001 From: Subhransu Mohanty Date: Sat, 9 May 2015 18:44:31 +0900 Subject: [PATCH] evas/canvas : Call correct engine function for setting clip color --- src/lib/evas/canvas/evas_object_vg.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_vg.c b/src/lib/evas/canvas/evas_object_vg.c index cca772a5d1..731eec6b55 100644 --- a/src/lib/evas/canvas/evas_object_vg.c +++ b/src/lib/evas/canvas/evas_object_vg.c @@ -165,14 +165,18 @@ evas_object_vg_render(Evas_Object *eo_obj EINA_UNUSED, /* render object to surface with context, and offxet by x,y */ obj->layer->evas->engine.func->context_color_set(output, context, - obj->cur->cache.clip.r, - obj->cur->cache.clip.g, - obj->cur->cache.clip.b, - obj->cur->cache.clip.a); + 255, + 255, + 255, + 255); + obj->layer->evas->engine.func->context_multiplier_set(output, + context, + obj->cur->cache.clip.r, + obj->cur->cache.clip.g, + obj->cur->cache.clip.b, + obj->cur->cache.clip.a); obj->layer->evas->engine.func->context_anti_alias_set(output, context, obj->cur->anti_alias); - obj->layer->evas->engine.func->context_multiplier_unset(output, - context); obj->layer->evas->engine.func->context_render_op_set(output, context, obj->cur->render_op); obj->layer->evas->engine.func->ector_begin(output, context, surface,