wsi: Modified to use tpl_display_get_with_backend_type. 58/186358/1 accepted/tizen/unified/20180810.062925 submit/tizen/20180809.084702
authorJoonbum Ko <joonbum.ko@samsung.com>
Thu, 9 Aug 2018 07:04:00 +0000 (16:04 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 9 Aug 2018 07:04:04 +0000 (16:04 +0900)
 - This patch depends on libtpl-egl commit below.
 tpl_display: Added a new API to get existed display with backend type.
 Change-Id: I82f65da4f168f47b2669e5e82f92aae4e77968a0

Change-Id: I9c875c831f0f061c2e9ea80133f5dbed8fb3a415
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/wsi/wsi.h

index 7b59d14..88033c1 100644 (file)
@@ -197,7 +197,7 @@ vk_get_tpl_display(VkIcdSurfaceBase         *sfc)
                        return NULL;
        }
 
-       tpl_display_t *display = tpl_display_get(native_dpy);
+       tpl_display_t *display = tpl_display_get_with_backend_type(type, native_dpy);
 
        if (display == NULL)
                display = tpl_display_create(type, native_dpy);