mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +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;
|
break;
|
||||||
case TypeCategory::Struct:
|
case TypeCategory::Struct:
|
||||||
|
case TypeCategory::Union: // unions are listed together with the structures!
|
||||||
{
|
{
|
||||||
auto structIt = m_structures.find(name);
|
auto structIt = m_structures.find(name);
|
||||||
check(structIt != m_structures.end(), line, "failed to find required struct <" + name + ">");
|
check(structIt != m_structures.end(), line, "failed to find required struct <" + name + ">");
|
||||||
|
Loading…
Reference in New Issue
Block a user