surface: use vk_get_tpl_display instead of tpl_display_get 42/66242/1
authordeasung.kim <deasung.kim@samsung.com>
Fri, 15 Apr 2016 04:35:20 +0000 (13:35 +0900)
committerdeasung.kim <deasung.kim@samsung.com>
Mon, 18 Apr 2016 05:04:13 +0000 (14:04 +0900)
Change-Id: I01213f16f87a11d1ebdd9d2b9e8fe85e8b68b421

src/wsi/surface.c

index b3dff9d..1636268 100644 (file)
@@ -55,8 +55,8 @@ vk_GetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice                    pdev,
        VK_CHECK(sfc->base.platform == VK_ICD_WSI_PLATFORM_WAYLAND, return VK_ERROR_DEVICE_LOST,
                         "Not supported platform surface.\n");
 
-       display = tpl_display_get(sfc->display);
-       VK_CHECK(display, return VK_ERROR_DEVICE_LOST, "tpl_display_get() failed.\n");
+       display = vk_get_tpl_display(sfc->display);
+       VK_CHECK(display, return VK_ERROR_DEVICE_LOST, "vk_get_tpl_display() failed.\n");
 
 #if 0
        res = tpl_surface_query_supported_buffer_count(sfc->tpl.surface, &min, &max);