android: Update build to define android platform at build time
This commit is contained in:
parent
810530e917
commit
05db2f0c54
1 changed files with 0 additions and 12 deletions
|
|
@ -14,18 +14,6 @@
|
||||||
#else
|
#else
|
||||||
# define VK_LAYER_EXPORT
|
# define VK_LAYER_EXPORT
|
||||||
#endif
|
#endif
|
||||||
#if defined(__ANDROID__)
|
|
||||||
#define VK_USE_PLATFORM_ANDROID_KHR
|
|
||||||
#elif defined(_WIN32)
|
|
||||||
#define VK_USE_PLATFORM_WIN32_KHR
|
|
||||||
#elif defined(__unix__)
|
|
||||||
#define VK_USE_PLATFORM_MIR_KHR
|
|
||||||
#define VK_USE_PLATFORM_WAYLAND_KHR
|
|
||||||
#define VK_USE_PLATFORM_XLIB_KHR
|
|
||||||
#define VK_USE_PLATFORM_XCB_KHR
|
|
||||||
#else
|
|
||||||
#error "Unsupported Platform!"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef void * (VKAPI_PTR *PFN_vkGPA)(void* obj, const char * pName);
|
typedef void * (VKAPI_PTR *PFN_vkGPA)(void* obj, const char * pName);
|
||||||
typedef struct VkBaseLayerObject_
|
typedef struct VkBaseLayerObject_
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue