Currently, the vulkaninfo is not supported on Android.
But someone might use the vulkaninfo with their own makefiles
crossing all the platforms including Android.
This change fixed the compiling error on Android platform.
Window xlib_window;
#endif
#ifdef VK_USE_PLATFORM_ANDROID_KHR // TODO
- ANativeWindow *window;
+ struct ANativeWindow *window;
#endif
#ifdef VK_USE_PLATFORM_MACOS_MVK
void *window;
//-----------------------------------------------------------
#if defined(VK_USE_PLATFORM_XCB_KHR) || defined(VK_USE_PLATFORM_XLIB_KHR) || defined(VK_USE_PLATFORM_WIN32_KHR) || \
- defined(VK_USE_PLATFORM_MACOS_MVK) || defined(VK_USE_PLATFORM_WAYLAND_KHR)
+ defined(VK_USE_PLATFORM_MACOS_MVK) || defined(VK_USE_PLATFORM_WAYLAND_KHR) || defined(VK_USE_PLATFORM_ANDROID_KHR)
static void AppDestroySurface(struct AppInstance *inst) { // same for all platforms
vkDestroySurfaceKHR(inst->instance, inst->surface, NULL);
}