mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Stop mapping const pointer command arguments with indirect len specifiation to ArrayProxy.
This commit is contained in:
parent
9d8acb901b
commit
c48441d223
@ -3566,7 +3566,7 @@ std::string VulkanHppGenerator::constructArgumentListEnhanced( std::vector<Param
|
||||
argumentList += "const " + stripPrefix( params[i].type.type, "Vk" ) + " & " +
|
||||
stripPluralS( startLowerCase( stripPrefix( params[i].name, "p" ) ) );
|
||||
}
|
||||
else if ( params[i].type.isConstPointer() )
|
||||
else if ( params[i].type.isConstPointer() && !isParamIndirect( params[i].len, params ) )
|
||||
{
|
||||
std::string name = startLowerCase( stripPrefix( params[i].name, "p" ) );
|
||||
if ( params[i].len.empty() )
|
||||
|
Loading…
Reference in New Issue
Block a user