comp/main: Don't check for VK_KHR_display on Android.

This commit is contained in:
Lubosz Sarnecki 2020-09-15 12:35:07 +02:00 committed by Ryan Pavlik
parent 7d02a93ca5
commit 79fd76f68d

View file

@ -959,12 +959,14 @@ compositor_check_vulkan_caps(struct comp_compositor *c)
} }
const char *extension_names[] = { const char *extension_names[] = {
VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_SURFACE_EXTENSION_NAME,
VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME,
VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME,
VK_KHR_EXTERNAL_FENCE_CAPABILITIES_EXTENSION_NAME, VK_KHR_EXTERNAL_FENCE_CAPABILITIES_EXTENSION_NAME,
VK_KHR_EXTERNAL_SEMAPHORE_CAPABILITIES_EXTENSION_NAME, VK_KHR_EXTERNAL_SEMAPHORE_CAPABILITIES_EXTENSION_NAME,
VK_KHR_DISPLAY_EXTENSION_NAME, #if !defined(XRT_OS_ANDROID)
VK_KHR_DISPLAY_EXTENSION_NAME,
#endif
}; };
VkInstanceCreateInfo instance_create_info = { VkInstanceCreateInfo instance_create_info = {