mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #1056 from asuessenbach/type
Fix extension name used to protect types.
This commit is contained in:
commit
238972066d
@ -13435,7 +13435,6 @@ void VulkanHppGenerator::readExtensionRequire( tinyxml2::XMLElement const *
|
||||
}
|
||||
|
||||
RequireData requireData( line, requireTitle );
|
||||
std::string extensionName = requireTitle.empty() ? extensionIt->first : requireTitle;
|
||||
bool requireDataEmpty = true;
|
||||
for ( auto child : children )
|
||||
{
|
||||
@ -13455,7 +13454,7 @@ void VulkanHppGenerator::readExtensionRequire( tinyxml2::XMLElement const *
|
||||
}
|
||||
else if ( value == "type" )
|
||||
{
|
||||
readExtensionRequireType( child, extensionName, requireData );
|
||||
readExtensionRequireType( child, extensionIt->first, requireData );
|
||||
requireDataEmpty = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user