summaryrefslogtreecommitdiff
path: root/platform/iphone/vulkan_context_iphone.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/iphone/vulkan_context_iphone.mm')
-rw-r--r--platform/iphone/vulkan_context_iphone.mm6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/iphone/vulkan_context_iphone.mm b/platform/iphone/vulkan_context_iphone.mm
index 17f2b167b3..5432cdc033 100644
--- a/platform/iphone/vulkan_context_iphone.mm
+++ b/platform/iphone/vulkan_context_iphone.mm
@@ -29,7 +29,11 @@
/*************************************************************************/
#include "vulkan_context_iphone.h"
-#include <vulkan/vulkan_ios.h>
+#ifdef USE_VOLK
+#include <volk.h>
+#else
+#include <vulkan/vulkan.h>
+#endif
const char *VulkanContextIPhone::_get_platform_surface_extension() const {
return VK_MVK_IOS_SURFACE_EXTENSION_NAME;