From: SooChan Lim Date: Tue, 23 Jul 2019 01:14:57 +0000 (+0900) Subject: make the target_window info get the proper w/h. X-Git-Tag: accepted/tizen/unified/20190723.053536~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d916927c91f52d3ba0fa7df6cd03c0f9175333d;p=platform%2Fadaptation%2Fbroadcom%2Flibtdm-vc4.git make the target_window info get the proper w/h. Change-Id: Ib493b75d3534616e1c015b7ea9695d69688862df --- diff --git a/src/tdm_vc4_hwc.c b/src/tdm_vc4_hwc.c index ab7f8ce..91eef2d 100644 --- a/src/tdm_vc4_hwc.c +++ b/src/tdm_vc4_hwc.c @@ -698,13 +698,13 @@ vc4_hwc_target_window_set_info(tdm_vc4_hwc_data *hwc_data, int width, int height info.dst_pos.x = 0; info.dst_pos.y = 0; - info.dst_pos.h = width; - info.dst_pos.w = height; + info.dst_pos.w = width; + info.dst_pos.h = height; info.src_config.pos.x = 0; info.src_config.pos.y = 0; - info.src_config.pos.h = width; - info.src_config.pos.w = height; + info.src_config.pos.w = width; + info.src_config.pos.h = height; info.src_config.size.h = width; info.src_config.size.v = height; @@ -730,13 +730,13 @@ vc4_hwc_initailize_target_window(tdm_vc4_hwc_data *hwc_data) info.dst_pos.x = 0; info.dst_pos.y = 0; - info.dst_pos.h = 2; info.dst_pos.w = 1; + info.dst_pos.h = 2; info.src_config.pos.x = 0; info.src_config.pos.y = 0; - info.src_config.pos.h = 2; info.src_config.pos.w = 1; + info.src_config.pos.h = 2; info.src_config.size.h = 2; info.src_config.size.v = 1;