From 328520a250d372dea039ffa6c5c8a2eef6b44a95 Mon Sep 17 00:00:00 2001 From: Joonbum Ko Date: Thu, 25 Mar 2021 13:13:51 +0900 Subject: [PATCH] Make ready_to_commit to TRUE when acquire_fence_fd is not used. - Missig this line caused a serious problem where wl_surface_commit would not work if acquire_fence_fd was not used. Change-Id: I22b610ad187d90b2d51cb73fa7e4913095997009 Signed-off-by: Joonbum Ko --- src/tpl_wl_egl_thread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tpl_wl_egl_thread.c b/src/tpl_wl_egl_thread.c index d79e3af..041f163 100755 --- a/src/tpl_wl_egl_thread.c +++ b/src/tpl_wl_egl_thread.c @@ -2667,6 +2667,8 @@ _thread_surface_queue_acquire(tpl_wl_egl_surface_t *wl_egl_surface) ready_to_commit = TPL_FALSE; } + } else { + ready_to_commit = TPL_TRUE; } if (ready_to_commit) { -- 2.7.4