Fix extension name used to protect types.

This commit is contained in:
asuessenbach 2021-08-31 11:57:48 +02:00
parent 7f7f30a333
commit c71b0e5100

View File

@ -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;
}
}