From b01b70a8b7e3e5420e2822e6f9115b0c0f5eccdc Mon Sep 17 00:00:00 2001 From: Cody Northrop Date: Thu, 22 Sep 2016 14:39:16 -0600 Subject: android: Add Android and C++ support to a couple files These are needed downstream in VulkanTools for Android support. --- include/vulkan/vk_icd.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/vulkan') diff --git a/include/vulkan/vk_icd.h b/include/vulkan/vk_icd.h index c26d1f74..7b54fb57 100644 --- a/include/vulkan/vk_icd.h +++ b/include/vulkan/vk_icd.h @@ -111,6 +111,12 @@ typedef struct { } VkIcdSurfaceXlib; #endif // VK_USE_PLATFORM_XLIB_KHR +#ifdef VK_USE_PLATFORM_ANDROID_KHR +typedef struct { + ANativeWindow* window; +} VkIcdSurfaceAndroid; +#endif //VK_USE_PLATFORM_ANDROID_KHR + typedef struct { VkIcdSurfaceBase base; VkDisplayModeKHR displayMode; -- cgit v1.2.3