summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJuan Ramos <[email protected]>2022-12-20 15:21:10 -0700
committerJuan Ramos <[email protected]>2022-12-20 15:28:14 -0700
commitfc90b60663965aec582d5bf7965f4e6b15173730 (patch)
treef0bbefa444b40409215bc6151462cccba0ae3a2a
parent43946b0febc78952aebd2559b5222080b1e48ef3 (diff)
downloadVulkan-Headers-fc90b60663965aec582d5bf7965f4e6b15173730.tar.gz
Vulkan-Headers-fc90b60663965aec582d5bf7965f4e6b15173730.zip
vk_layer: Include vukan_core.h instead of vulkan.h
vulkan.h pulls in system headers we don't need closes #313
-rw-r--r--include/vulkan/vk_layer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h
index 0651870..3f203f8 100644
--- a/include/vulkan/vk_layer.h
+++ b/include/vulkan/vk_layer.h
@@ -26,7 +26,8 @@
*/
#pragma once
-#include "vulkan.h"
+#include "vulkan_core.h"
+
#if defined(__GNUC__) && __GNUC__ >= 4
#define VK_LAYER_EXPORT __attribute__((visibility("default")))
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)