Change-Id: Iaa0df64ec73bb57c8a14647fbd312917fb1e2c76
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
_tdm_target_window_dump_buffer((tdm_private_output *)output, target_buffer);
/* LCOV_EXCL_STOP */
+ if (num_wnds == 0) {
+ ret = func_output->output_hwc_set_client_target_buffer(private_output->output_backend, target_buffer,
+ damage, NULL, 0);
+
+ _pthread_mutex_unlock(&private_display->lock);
+
+ return ret;
+ }
+
composited_wnds_backend = calloc(num_wnds, sizeof(tdm_hwc_window *));
if (!composited_wnds_backend) {
/* LCOV_EXCL_START */