mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-10 14:40:07 +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 <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 <vector>
|
||||
#endif
|
||||
|
@ -46,7 +46,11 @@
|
||||
#include <type_traits>
|
||||
#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 <vector>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user