diff options
author | Alexandre Bouvier <contact@amb.tf> | 2023-08-02 00:04:39 +0200 |
---|---|---|
committer | Alexandre Bouvier <contact@amb.tf> | 2023-08-02 00:05:14 +0200 |
commit | 9d6f8e88b27268add7cbf7c33c9e1cbbb20c1738 (patch) | |
tree | db365084abfa708cf8bf6d46944e6b82c93678c0 /src/video_core/vulkan_common/vulkan.h | |
parent | Update translations (2023-08-01) (#11198) (diff) | |
download | yuzu-9d6f8e88b27268add7cbf7c33c9e1cbbb20c1738.tar yuzu-9d6f8e88b27268add7cbf7c33c9e1cbbb20c1738.tar.gz yuzu-9d6f8e88b27268add7cbf7c33c9e1cbbb20c1738.tar.bz2 yuzu-9d6f8e88b27268add7cbf7c33c9e1cbbb20c1738.tar.lz yuzu-9d6f8e88b27268add7cbf7c33c9e1cbbb20c1738.tar.xz yuzu-9d6f8e88b27268add7cbf7c33c9e1cbbb20c1738.tar.zst yuzu-9d6f8e88b27268add7cbf7c33c9e1cbbb20c1738.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan.h')
-rw-r--r-- | src/video_core/vulkan_common/vulkan.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan.h b/src/video_core/vulkan_common/vulkan.h index 3fa963647..62aa13291 100644 --- a/src/video_core/vulkan_common/vulkan.h +++ b/src/video_core/vulkan_common/vulkan.h @@ -8,6 +8,19 @@ #define VK_USE_PLATFORM_WIN32_KHR #elif defined(__APPLE__) #define VK_USE_PLATFORM_METAL_EXT +#elif defined(__ANDROID__) +#define VK_USE_PLATFORM_ANDROID_KHR +#else +#define VK_USE_PLATFORM_XLIB_KHR +#define VK_USE_PLATFORM_WAYLAND_KHR #endif #include <vulkan/vulkan.h> + +// Sanitize macros +#undef CreateEvent +#undef CreateSemaphore +#undef Always +#undef False +#undef None +#undef True |