mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Define VULKAN_HPP_NO_SMART_HANDLE if VULKAN_HPP_DISABLE_ENHANCED_MODE is defined.
Resolves #509.
This commit is contained in:
parent
f9d90dfd1c
commit
cbff9067dc
@ -6260,7 +6260,11 @@ static const std::string constExpressionArrayCopy = R"(
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <vulkan/vulkan.h>
|
#include <vulkan/vulkan.h>
|
||||||
|
|
||||||
#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE)
|
#if defined(VULKAN_HPP_DISABLE_ENHANCED_MODE)
|
||||||
|
# if !defined(VULKAN_HPP_NO_SMART_HANDLE)
|
||||||
|
# define VULKAN_HPP_NO_SMART_HANDLE
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
# include <memory>
|
# include <memory>
|
||||||
# include <vector>
|
# include <vector>
|
||||||
#endif
|
#endif
|
||||||
|
@ -46,7 +46,11 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <vulkan/vulkan.h>
|
#include <vulkan/vulkan.h>
|
||||||
|
|
||||||
#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE)
|
#if defined(VULKAN_HPP_DISABLE_ENHANCED_MODE)
|
||||||
|
# if !defined(VULKAN_HPP_NO_SMART_HANDLE)
|
||||||
|
# define VULKAN_HPP_NO_SMART_HANDLE
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
# include <memory>
|
# include <memory>
|
||||||
# include <vector>
|
# include <vector>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user