e_mod_effect: underlayer skip condition changed 58/154558/2 accepted/tizen/5.0/unified/20181102.022839 accepted/tizen/unified/20171025.075134 submit/tizen/20171020.120936 submit/tizen_5.0/20181101.000005
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 10 Oct 2017 12:17:21 +0000 (21:17 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 10 Oct 2017 12:27:20 +0000 (21:27 +0900)
Change-Id: I909d3bac334288e79e957f1488647e67c2e0c958

src/e_mod_effect.c

index b70982b..566376d 100644 (file)
@@ -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;