From 709d66fc80e2a8f2146df23f10e52cee3cc324aa Mon Sep 17 00:00:00 2001 From: Tianhao Ni Date: Fri, 4 Jun 2021 13:42:48 +0800 Subject: [PATCH] Fix ws-testcase build issue: - Issue: undefined reference to '__tpl_display_choose_backend_wl_egl_thread' undefined refetence to '__tpl_display_choose_backend_wayland_vk_wsi' - Fix: Replace __tpl_display_choose_backend_wl_egl_thread() with __tpl_display_choose_backend_wl_egl_thread2() Replace __tpl_display_choose_backend_wayland_vk_wsi() with __tpl_display_choose_backend_wayland_vk_wsi_thread() Change-Id: I1d562bbaf37c4c45b238e221b125bdb42cc6db1a Signed-off-by: Tianhao Ni --- src/tpl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tpl.c b/src/tpl.c index f40889d..5482bc1 100644 --- a/src/tpl.c +++ b/src/tpl.c @@ -274,14 +274,14 @@ __tpl_display_choose_backend(tpl_handle_t native_dpy) if (__tpl_display_choose_backend_tbm(native_dpy) == TPL_TRUE) return TPL_BACKEND_TBM; if (wl_egl_thread) { - if (__tpl_display_choose_backend_wl_egl_thread(native_dpy)) + if (__tpl_display_choose_backend_wl_egl_thread2(native_dpy)) return TPL_BACKEND_WAYLAND_THREAD; } else { if (__tpl_display_choose_backend_wayland_egl(native_dpy)) return TPL_BACKEND_WAYLAND; } - if (__tpl_display_choose_backend_wayland_vk_wsi(native_dpy) == TPL_TRUE) - return TPL_BACKEND_WAYLAND_VULKAN_WSI; + if (__tpl_display_choose_backend_wayland_vk_wsi_thread(native_dpy) == TPL_TRUE) + return TPL_BACKEND_WAYLAND_VULKAN_WSI_THREAD; #endif #ifdef TPL_WINSYS_DRI2 if (__tpl_display_choose_backend_x11_dri2(native_dpy) == TPL_TRUE) -- 2.34.1