From: Joonbum Ko Date: Thu, 10 Jun 2021 05:36:02 +0000 (+0900) Subject: Fix incorrect use of can_dequeue return value. X-Git-Tag: accepted/tizen/unified/20210622.125833~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72ff58eedf23fdacd5676da22b6aa9baf3a06e47;p=platform%2Fcore%2Fuifw%2Flibtpl-egl.git Fix incorrect use of can_dequeue return value. Change-Id: Iac9ca1b9cd0a8d4749f10ee4dfd97f45a7f1a39a Signed-off-by: Joonbum Ko --- diff --git a/src/tpl_wl_vk_thread.c b/src/tpl_wl_vk_thread.c index 12ecfca..f883334 100644 --- a/src/tpl_wl_vk_thread.c +++ b/src/tpl_wl_vk_thread.c @@ -1933,8 +1933,7 @@ __tpl_wl_vk_surface_dequeue_buffer(tpl_surface_t *surface, tsq_err = tbm_surface_queue_can_dequeue_wait_timeout( swapchain->tbm_queue, timeout_ns/1000); } else { - tsq_err = tbm_surface_queue_can_dequeue( - swapchain->tbm_queue, 1); + tbm_surface_queue_can_dequeue(swapchain->tbm_queue, 1); } TRACE_END(); TPL_OBJECT_LOCK(surface);