mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-08 21:50:08 +00:00
Add missing handling of unions in readExtensionRequireType.
This commit is contained in:
parent
7d5c399cd7
commit
7826e58909
@ -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