mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #799 from asuessenbach/ArrayProxy
Stop mapping const pointer command arguments with indirect len specifiation to ArrayProxy.
This commit is contained in:
commit
62a9e28264
@ -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