From 695de1bc3a73cd5f5305feea49eee82e2ecbd21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=BC=C3=9Fenbach?= Date: Mon, 11 Mar 2024 11:56:56 +0100 Subject: [PATCH] Fix messages in checkExtensionCorrectness (#1826) --- VulkanHppGenerator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index bbf325f..b4c41a4 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -1366,13 +1366,13 @@ void VulkanHppGenerator::checkExtensionCorrectness() const { checkForError( isFeature( extension.deprecatedBy ) || isExtension( extension.deprecatedBy ), 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() ) { checkForError( isFeature( extension.obsoletedBy ) || isExtension( extension.obsoletedBy ), 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() ) {