tpl: Modified the syntax to enable threads. 88/139488/2
authorjoonbum.ko <joonbum.ko@samsung.com>
Thu, 6 Jul 2017 10:43:41 +0000 (19:43 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Wed, 19 Jul 2017 06:16:36 +0000 (15:16 +0900)
Change-Id: Ic08f11e71414711067c6e27fa70bdf31c38f4149
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl.c

index c8966c4..0f75d5f 100644 (file)
--- 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) {