Skip to content

Commit

Permalink
Extend cases when vk::detail::DispatchLoaderStatic is defined. (#1995)
Browse files Browse the repository at this point in the history
  • Loading branch information
asuessenbach authored Nov 14, 2024
1 parent a4d53f4 commit d433715
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VulkanHppGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6726,7 +6726,7 @@ std::string VulkanHppGenerator::generateDispatchLoaderDynamic() const
std::string VulkanHppGenerator::generateDispatchLoaderStatic() const
{
const std::string dispatchLoaderStaticTemplate = R"(
#if !defined( VK_NO_PROTOTYPES )
#if !defined( VK_NO_PROTOTYPES ) || ( defined( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC ) && ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 0 ) )
class DispatchLoaderStatic : public DispatchLoaderBase
{
public:
Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ namespace VULKAN_HPP_NAMESPACE
#endif
};

#if !defined( VK_NO_PROTOTYPES )
#if !defined( VK_NO_PROTOTYPES ) || ( defined( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC ) && ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 0 ) )
class DispatchLoaderStatic : public DispatchLoaderBase
{
public:
Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkansc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ namespace VULKAN_HPP_NAMESPACE
#endif
};

#if !defined( VK_NO_PROTOTYPES )
#if !defined( VK_NO_PROTOTYPES ) || ( defined( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC ) && ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 0 ) )
class DispatchLoaderStatic : public DispatchLoaderBase
{
public:
Expand Down

0 comments on commit d433715

Please sign in to comment.