summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunkyeong Kim <jk0430.kim@samsung.com>2018-01-02 15:25:57 +0900
committerJunkyeong Kim <jk0430.kim@samsung.com>2018-01-30 18:02:14 +0900
commit06001de1d63acd67170e9f697d4805abe83909c9 (patch)
treea20efd664f508cf776bf5b9087dd16033cf05b6e
parent0ba48767235a920c90b6dd9dfcb2fc8b62455d80 (diff)
downloadlibtdm-vc4-06001de1d63acd67170e9f697d4805abe83909c9.tar.gz
libtdm-vc4-06001de1d63acd67170e9f697d4805abe83909c9.tar.bz2
libtdm-vc4-06001de1d63acd67170e9f697d4805abe83909c9.zip
set correct cursor zpos
Change-Id: I8a3cc00dc8391415460366a65bd1be7fa43d5886 Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
-rw-r--r--src/tdm_vc4_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tdm_vc4_display.c b/src/tdm_vc4_display.c
index 00c2c85..4ea550e 100644
--- a/src/tdm_vc4_display.c
+++ b/src/tdm_vc4_display.c
@@ -645,7 +645,7 @@ _tdm_vc4_display_create_layer_list_type(tdm_vc4_data *vc4_data)
/* do not use primary plane(0) because of yuv format displaying problem */
/* set 2nd overlay plane to primary, 1st plane is for video */
opos_next = 0;
- cpos_next = ovl_cnt - 1;
+ cpos_next = ovl_cnt;
for (i = 1; i < plane_cnt; i++) {
tdm_vc4_layer_data *layer_data;