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-02 15:26:01 +0900
commit3f4cd86066ebf9cc003b20530023b1af44a6b10e (patch)
treefa226341d5ee1441d5f35582f98a55ba27bd87dd
parent90832313593015bd3d41e00ce2dc4aec2375495e (diff)
downloadlibtdm-vc4-3f4cd86066ebf9cc003b20530023b1af44a6b10e.tar.gz
libtdm-vc4-3f4cd86066ebf9cc003b20530023b1af44a6b10e.tar.bz2
libtdm-vc4-3f4cd86066ebf9cc003b20530023b1af44a6b10e.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 b3b93c1..4a98bbe 100644
--- a/src/tdm_vc4_display.c
+++ b/src/tdm_vc4_display.c
@@ -690,7 +690,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;