Downgraded check on attribute "requires" in "extension" elements to a warning.

This commit is contained in:
asuessenbach 2020-05-05 08:57:50 +02:00
parent f56e99e5b8
commit a037ea241c

View File

@ -4215,7 +4215,7 @@ void VulkanHppGenerator::checkCorrectness()
} }
for ( auto const & require : extension.second.requirements ) for ( auto const & require : extension.second.requirements )
{ {
check( m_extensions.find( require.first ) != m_extensions.end(), warn( m_extensions.find( require.first ) != m_extensions.end(),
require.second, require.second,
"unknown extension requires <" + require.first + ">" ); "unknown extension requires <" + require.first + ">" );
} }