Removed an invalid assertion in readRequireEnum. (#1534)
authorAndreas Süßenbach <asuessenbach@nvidia.com>
Thu, 16 Mar 2023 16:16:12 +0000 (17:16 +0100)
committerGitHub <noreply@github.com>
Thu, 16 Mar 2023 16:16:12 +0000 (17:16 +0100)
VulkanHppGenerator.cpp

index 37acbb4..8f8ed63 100644 (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 );