mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Fix messages in checkExtensionCorrectness (#1826)
This commit is contained in:
parent
e35acfe752
commit
695de1bc3a
@ -1366,13 +1366,13 @@ void VulkanHppGenerator::checkExtensionCorrectness() const
|
|||||||
{
|
{
|
||||||
checkForError( isFeature( extension.deprecatedBy ) || isExtension( extension.deprecatedBy ),
|
checkForError( isFeature( extension.deprecatedBy ) || isExtension( extension.deprecatedBy ),
|
||||||
extension.xmlLine,
|
extension.xmlLine,
|
||||||
"extension <" + extension.name + "> is deprecated by unknown extension/version <" + extension.promotedTo + ">" );
|
"extension <" + extension.name + "> is deprecated by unknown extension/version <" + extension.deprecatedBy + ">" );
|
||||||
}
|
}
|
||||||
if ( !extension.obsoletedBy.empty() )
|
if ( !extension.obsoletedBy.empty() )
|
||||||
{
|
{
|
||||||
checkForError( isFeature( extension.obsoletedBy ) || isExtension( extension.obsoletedBy ),
|
checkForError( isFeature( extension.obsoletedBy ) || isExtension( extension.obsoletedBy ),
|
||||||
extension.xmlLine,
|
extension.xmlLine,
|
||||||
"extension <" + extension.name + "> is obsoleted by unknown extension/version <" + extension.promotedTo + ">" );
|
"extension <" + extension.name + "> is obsoleted by unknown extension/version <" + extension.obsoletedBy + ">" );
|
||||||
}
|
}
|
||||||
if ( !extension.promotedTo.empty() )
|
if ( !extension.promotedTo.empty() )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user