void anv_finish_wsi(struct anv_physical_device *physical_device) { #ifdef VK_USE_PLATFORM_WAYLAND_KHR anv_wl_finish_wsi(physical_device); #endif #ifdef VK_USE_PLATFORM_XCB_KHR anv_x11_finish_wsi(physical_device); #endif }
void anv_finish_wsi(struct anv_instance *instance) { #ifdef VK_USE_PLATFORM_WAYLAND_KHR anv_wl_finish_wsi(instance); #endif #ifdef VK_USE_PLATFORM_XCB_KHR anv_x11_finish_wsi(instance); #endif }