evas/canvas : Call correct engine function for setting clip color

This commit is contained in:
Subhransu Mohanty 2015-05-09 18:44:31 +09:00 committed by ChunEon Park
parent a00bbffd3f
commit d82c0ae1bf
1 changed files with 10 additions and 6 deletions

View File

@ -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,