diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 6f02e1d..0913072 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -4606,7 +4606,7 @@ void VulkanHppGenerator::appendIndexTypeTraits( std::string & str ) const } else { - assert( value.vkValue == "eNoneKHR" ); + assert( beginsWith( value.vkValue, "eNone" ) ); } if ( !cppType.empty() )