mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #543 from asuessenbach/union
Add missing handling of unions in readExtensionRequireType.
This commit is contained in:
commit
ce7f49f4c0
@ -4647,6 +4647,7 @@ void VulkanHppGenerator::readExtensionRequireType(tinyxml2::XMLElement const* el
|
||||
}
|
||||
break;
|
||||
case TypeCategory::Struct:
|
||||
case TypeCategory::Union: // unions are listed together with the structures!
|
||||
{
|
||||
auto structIt = m_structures.find(name);
|
||||
check(structIt != m_structures.end(), line, "failed to find required struct <" + name + ">");
|
||||
|
Loading…
Reference in New Issue
Block a user