evas/canvas : Call correct engine function for setting clip color
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Sat, 9 May 2015 09:44:31 +0000 (18:44 +0900)
committerChunEon Park <chuneon.park@samsung.com>
Sat, 9 May 2015 10:59:00 +0000 (19:59 +0900)
src/lib/evas/canvas/evas_object_vg.c

index cca772a..731eec6 100644 (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,