diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 4ec3223..988778c 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -3724,6 +3724,7 @@ std::string VulkanHppGenerator::constructArgumentListEnhanced( std::vector( " + argument + " )"; + } + else if ( param.type.isValue() ) { argument = "static_cast<" + param.type.type + ">( " + argument + " )"; }