Adjust include snippet of vulkan[sc].hpp to actually use vulkan[sc]. (#1526)

This commit is contained in:
Andreas Süßenbach
2023-03-07 17:32:10 +01:00
committed by GitHub
parent 4befd8e643
commit da4ab05a14
3 changed files with 5 additions and 5 deletions

View File

@@ -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