mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Adjust include snippet of vulkan[sc].hpp to actually use vulkan[sc]. (#1526)
This commit is contained in:
parent
4befd8e643
commit
da4ab05a14
@ -336,7 +336,7 @@ ${DispatchLoaderDynamic}
|
||||
{ "Exceptions", readSnippet( "Exceptions.hpp" ) },
|
||||
{ "Flags", readSnippet( "Flags.hpp" ) },
|
||||
{ "headerVersion", m_version },
|
||||
{ "includes", readSnippet( "includes.hpp" ) },
|
||||
{ "includes", replaceWithMap( readSnippet( "includes.hpp" ), { { "vulkan", m_api } } ) },
|
||||
{ "licenseHeader", m_vulkanLicenseHeader },
|
||||
{ "ObjectDestroy", readSnippet( "ObjectDestroy.hpp" ) },
|
||||
{ "ObjectFree", readSnippet( "ObjectFree.hpp" ) },
|
||||
|
@ -16,13 +16,13 @@
|
||||
#elif 199711L < VULKAN_HPP_CPLUSPLUS
|
||||
# define VULKAN_HPP_CPP_VERSION 11
|
||||
#else
|
||||
# error "vulkan.hpp needs at least c++ standard version 11"
|
||||
# error "${vulkan}.hpp needs at least c++ standard version 11"
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <array> // ArrayWrapperND
|
||||
#include <string> // std::string
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <vulkan/${vulkan}.h>
|
||||
#if 17 <= VULKAN_HPP_CPP_VERSION
|
||||
# include <string_view> // std::string_view
|
||||
#endif
|
||||
|
@ -23,13 +23,13 @@
|
||||
#elif 199711L < VULKAN_HPP_CPLUSPLUS
|
||||
# define VULKAN_HPP_CPP_VERSION 11
|
||||
#else
|
||||
# error "vulkan.hpp needs at least c++ standard version 11"
|
||||
# error "vulkansc.hpp needs at least c++ standard version 11"
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <array> // ArrayWrapperND
|
||||
#include <string> // std::string
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <vulkan/vulkansc.h>
|
||||
#if 17 <= VULKAN_HPP_CPP_VERSION
|
||||
# include <string_view> // std::string_view
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user