mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-22 20:30:04 +00:00
[HPP] Add VULKAN_HPP_ASSERT_ON_RESULT
This commit is contained in:
parent
bb8c322c94
commit
f0767988c9
@ -7947,6 +7947,10 @@ static_assert( false, "vulkan.hpp needs at least c++ standard version 11" );
|
||||
# define VULKAN_HPP_ASSERT assert
|
||||
#endif
|
||||
|
||||
#if !defined(VULKAN_HPP_ASSERT_ON_RESULT)
|
||||
# define VULKAN_HPP_ASSERT_ON_RESULT VULKAN_HPP_ASSERT
|
||||
#endif
|
||||
|
||||
#if !defined(VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL)
|
||||
# define VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL 1
|
||||
#endif
|
||||
|
@ -57,6 +57,10 @@ static_assert( false, "vulkan.hpp needs at least c++ standard version 11" );
|
||||
# define VULKAN_HPP_ASSERT assert
|
||||
#endif
|
||||
|
||||
#if !defined( VULKAN_HPP_ASSERT_ON_RESULT )
|
||||
# define VULKAN_HPP_ASSERT_ON_RESULT VULKAN_HPP_ASSERT
|
||||
#endif
|
||||
|
||||
#if !defined( VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL )
|
||||
# define VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL 1
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user