diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-17 00:24:23 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 06:16:21 +0100 |
commit | dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8 (patch) | |
tree | df41b4e8f2d2974695a9eada0d52f48708c7340c /src/video_core | |
parent | gpu: Report renderer errors with exceptions (diff) | |
download | yuzu-dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8.tar yuzu-dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8.tar.gz yuzu-dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8.tar.bz2 yuzu-dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8.tar.lz yuzu-dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8.tar.xz yuzu-dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8.tar.zst yuzu-dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_wrapper.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h index 4d8f14357..0c0e7230d 100644 --- a/src/video_core/vulkan_common/vulkan_wrapper.h +++ b/src/video_core/vulkan_common/vulkan_wrapper.h @@ -15,8 +15,19 @@ #include <vector> #define VK_NO_PROTOTYPES +#ifdef _WIN32 +#define VK_USE_PLATFORM_WIN32_KHR +#endif #include <vulkan/vulkan.h> +// Sanitize macros +#ifdef CreateEvent +#undef CreateEvent +#endif +#ifdef CreateSemaphore +#undef CreateSemaphore +#endif + #include "common/common_types.h" #ifdef _MSC_VER |