aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/vulkan_common/vulkan_wrapper.h
diff options
context:
space:
mode:
authorAlexandre Bouvier <contact@amb.tf>2023-07-30 13:10:00 +0200
committerAlexandre Bouvier <contact@amb.tf>2023-07-31 13:01:21 +0200
commitf663418ff572180a0e52e09d3ac4a3c73dac0622 (patch)
tree41ef27da0e8c21e3f059f2c2e5e843b6cf72f00c /src/video_core/vulkan_common/vulkan_wrapper.h
parentfb3f5b048206d1da56665ebc1bf2472fd5394dc8 (diff)
vma: enable options everywhere
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_wrapper.h')
-rw-r--r--src/video_core/vulkan_common/vulkan_wrapper.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h
index 32bd75ad81..3089c3d418 100644
--- a/src/video_core/vulkan_common/vulkan_wrapper.h
+++ b/src/video_core/vulkan_common/vulkan_wrapper.h
@@ -12,13 +12,8 @@
#include <utility>
#include <vector>
-#define VK_NO_PROTOTYPES
-#ifdef _WIN32
-#define VK_USE_PLATFORM_WIN32_KHR
-#elif defined(__APPLE__)
-#define VK_USE_PLATFORM_METAL_EXT
-#endif
-#include <vulkan/vulkan.h>
+#include "common/common_types.h"
+#include "video_core/vulkan_common/vulkan.h"
// Sanitize macros
#ifdef CreateEvent
@@ -28,8 +23,6 @@
#undef CreateSemaphore
#endif
-#include "common/common_types.h"
-
#ifdef _MSC_VER
#pragma warning(disable : 26812) // Disable prefer enum class over enum
#endif