From: Juyeon Lee Date: Tue, 10 Oct 2017 12:17:21 +0000 (+0900) Subject: e_mod_effect: underlayer skip condition changed X-Git-Tag: submit/tizen/20171020.120936^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=063db43319f3863ebe1f8b5e986e8e40a64cafc5;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-effect.git e_mod_effect: underlayer skip condition changed Change-Id: I909d3bac334288e79e957f1488647e67c2e0c958 --- diff --git a/src/e_mod_effect.c b/src/e_mod_effect.c index b70982b..566376d 100644 --- a/src/e_mod_effect.c +++ b/src/e_mod_effect.c @@ -124,13 +124,14 @@ _eff_object_underlayer_get(E_Client *ec) if (!buffer) continue; err = tdm_layer_get_info(layer, &info); - if (err != TDM_ERROR_NONE) return NULL; + if (err != TDM_ERROR_NONE) continue; + + if (info.dst_pos.w <= 0 || info.dst_pos.h <= 0) + continue; img = evas_object_image_filled_add(e_comp->evas); if (!img) continue; - if (info.dst_pos.w <= 0 || info.dst_pos.h <= 0) - memset(&ns, 0, sizeof(Evas_Native_Surface)); ns.version = EVAS_NATIVE_SURFACE_VERSION; ns.type = EVAS_NATIVE_SURFACE_TBM;