summaryrefslogtreecommitdiff
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-01-16 20:24:23 -0300
committerGravatar ReinUsesLisp2021-02-13 02:16:21 -0300
commitdde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8 (patch)
treedf41b4e8f2d2974695a9eada0d52f48708c7340c /src/video_core/vulkan_common
parentgpu: Report renderer errors with exceptions (diff)
downloadyuzu-dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8.tar.gz
yuzu-dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8.tar.xz
yuzu-dde19e7d7556ac1af0dd7d0ad89746c1d6c08aa8.zip
vulkan_wrapper: Pull Windows symbols
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r--src/video_core/vulkan_common/vulkan_wrapper.h11
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 @@
15#include <vector> 15#include <vector>
16 16
17#define VK_NO_PROTOTYPES 17#define VK_NO_PROTOTYPES
18#ifdef _WIN32
19#define VK_USE_PLATFORM_WIN32_KHR
20#endif
18#include <vulkan/vulkan.h> 21#include <vulkan/vulkan.h>
19 22
23// Sanitize macros
24#ifdef CreateEvent
25#undef CreateEvent
26#endif
27#ifdef CreateSemaphore
28#undef CreateSemaphore
29#endif
30
20#include "common/common_types.h" 31#include "common/common_types.h"
21 32
22#ifdef _MSC_VER 33#ifdef _MSC_VER