Merge pull request #1056 from asuessenbach/type

Fix extension name used to protect types.
This commit is contained in:
Andreas Süßenbach 2021-08-31 13:14:17 +02:00 committed by GitHub
commit 238972066d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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