Removed an invalid assertion in readRequireEnum. (#1534)

This commit is contained in:
Andreas Süßenbach
2023-03-16 17:16:12 +01:00
committed by GitHub
parent 044844394c
commit 086af6f3d7

View File

@@ -12070,7 +12070,6 @@ void VulkanHppGenerator::readRequireEnum( tinyxml2::XMLElement const * element,
value = attribute.second;
}
}
assert( protect.empty() || ( protect == getProtectFromPlatform( platform ) ) );
if ( protect.empty() )
{
protect = getProtectFromPlatform( platform );