mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Fix the header generation for complex disabled extensions (#363)
This commit is contained in:
parent
b01f3c0bb5
commit
d5d4f3457b
@ -1516,8 +1516,12 @@ void VulkanHppGenerator::readExtensionDisabledRequire(tinyxml2::XMLElement const
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// a type simply needs to be removed from the structs and vkTypes sets
|
// a type simply needs to be removed from the structs and vkTypes sets
|
||||||
assert(m_structures.find(nameAttribute->second) != m_structures.end());
|
assert(m_structures.find(nameAttribute->second) != m_structures.end() ||
|
||||||
|
m_bitmasks.find(nameAttribute->second) != m_bitmasks.end() ||
|
||||||
|
m_bitmaskBits.find(nameAttribute->second) != m_bitmaskBits.end());
|
||||||
m_structures.erase(nameAttribute->second);
|
m_structures.erase(nameAttribute->second);
|
||||||
|
m_bitmasks.erase(nameAttribute->second);
|
||||||
|
m_bitmaskBits.erase(nameAttribute->second);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (value == "enum")
|
else if (value == "enum")
|
||||||
|
Loading…
Reference in New Issue
Block a user