mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Fix extension name used to protect types.
This commit is contained in:
parent
7f7f30a333
commit
c71b0e5100
@ -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