tc: Apply config.backend on TPLWayland 44/163844/3
authorHoyub Lee <hoyub.lee@samsung.com>
Wed, 13 Dec 2017 12:27:16 +0000 (21:27 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 14 Dec 2017 04:27:07 +0000 (04:27 +0000)
Change-Id: I40a1f898d76b1fac772ce42a29b1ee71deae38b7
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
tc/src/tpl-test_wayland.cpp

index 9ba3722..591d595 100644 (file)
@@ -84,7 +84,7 @@ TPLWayland::tpl_backend_initialize(Config *config)
        wl_win.native = wl_egl_window_create(wl_win.surface, config->width,
                                                                                 config->height);
 
-       tpl_display = tpl_display_create(TPL_BACKEND_WAYLAND,
+       tpl_display = tpl_display_create(config->backend,
                                                                         (tpl_handle_t)wl_disp.display);
 
        tpl_surface = tpl_surface_create(tpl_display, (tpl_handle_t)wl_win.native,