summaryrefslogtreecommitdiff
path: root/platform/windows/vulkan_context_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/windows/vulkan_context_win.cpp')
-rw-r--r--platform/windows/vulkan_context_win.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/windows/vulkan_context_win.cpp b/platform/windows/vulkan_context_win.cpp
index 191792b329..d720c7e8fe 100644
--- a/platform/windows/vulkan_context_win.cpp
+++ b/platform/windows/vulkan_context_win.cpp
@@ -29,7 +29,11 @@
/*************************************************************************/
#include "vulkan_context_win.h"
-#include <vulkan/vulkan_win32.h>
+#ifdef USE_VOLK
+#include <volk.h>
+#else
+#include <vulkan/vulkan.h>
+#endif
const char *VulkanContextWindows::_get_platform_surface_extension() const {
return VK_KHR_WIN32_SURFACE_EXTENSION_NAME;