mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2025-09-17 16:02:17 -04:00
Change an assertion into an error check.
This commit is contained in:
parent
59bc1c223a
commit
14651d6d73
@ -8141,8 +8141,9 @@ void VulkanHppGenerator::readExtension( tinyxml2::XMLElement const * element )
|
|||||||
#if !defined( NDEBUG )
|
#if !defined( NDEBUG )
|
||||||
else if ( attribute.first == "provisional" )
|
else if ( attribute.first == "provisional" )
|
||||||
{
|
{
|
||||||
assert( attribute.second == "true" );
|
check( platform == "provisional",
|
||||||
assert( platform == "provisional" );
|
line,
|
||||||
|
"while attribute <provisional> is set to \"true\", attribute <platform> is not set to \"provisional\"" );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else if ( attribute.first == "requires" )
|
else if ( attribute.first == "requires" )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user