aboutsummaryrefslogtreecommitdiff
path: root/cube/cube.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cube/cube.cpp')
-rw-r--r--cube/cube.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp
index edefbf09..ccf0ec80 100644
--- a/cube/cube.cpp
+++ b/cube/cube.cpp
@@ -41,6 +41,9 @@
#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1
#define VULKAN_HPP_NO_EXCEPTIONS
#define VULKAN_HPP_TYPESAFE_CONVERSION 1
+
+// Volk requires VK_NO_PROTOTYPES before including vulkan.hpp
+#define VK_NO_PROTOTYPES
#include <vulkan/vulkan.hpp>
#define VOLK_IMPLEMENTATION