do not unset comp object native surface during shape apply

due to efl changes, unsetting a native surface now clears existing image pixel
data, resulting in a guaranteed blank render

ref T3011
This commit is contained in:
Mike Blumenkrantz 2016-01-18 13:33:24 -05:00
parent 6bedbfc235
commit 57ea33e541
1 changed files with 1 additions and 5 deletions

View File

@ -3423,13 +3423,9 @@ e_comp_object_shape_apply(Evas_Object *obj)
//INF("SHAPE RENDER %p", cw->ec);
if (cw->ec->shaped) evas_object_image_native_surface_set(cw->obj, NULL);
_e_comp_object_alpha_set(cw);
EINA_LIST_FOREACH(cw->obj_mirror, l, o)
{
if (cw->ec->shaped) evas_object_image_native_surface_set(o, NULL);
evas_object_image_alpha_set(o, 1);
}
evas_object_image_alpha_set(o, 1);
p = pix = evas_object_image_data_get(cw->obj, 1);
if (!pix)