From: joonbum.ko Date: Thu, 6 Jul 2017 10:43:41 +0000 (+0900) Subject: tpl: Modified the syntax to enable threads. X-Git-Tag: accepted/tizen/unified/20170720.164855~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fec5bf78bb09f90b282d86c03253eaeafa77cec4;p=platform%2Fcore%2Fuifw%2Flibtpl-egl.git tpl: Modified the syntax to enable threads. Change-Id: Ic08f11e71414711067c6e27fa70bdf31c38f4149 Signed-off-by: joonbum.ko --- diff --git a/src/tpl.c b/src/tpl.c index c8966c4..0f75d5f 100644 --- a/src/tpl.c +++ b/src/tpl.c @@ -224,11 +224,12 @@ __tpl_display_choose_backend(tpl_handle_t native_dpy) int wl_egl_thread = 1; #else int wl_egl_thread = 0; +#endif thread = getenv("TPL_WL_EGL_THREAD"); if (thread) wl_egl_thread = atoi(thread); -#endif + plat_name = getenv("EGL_PLATFORM"); if (plat_name) {