Change-Id: I909d3bac334288e79e957f1488647e67c2e0c958
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;