mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Fix arraySize for array-valued return parameter. (#476)
This commit is contained in:
parent
1911d18790
commit
8d62969b4d
@ -1585,7 +1585,7 @@ void VulkanHppGenerator::appendFunctionBodyEnhancedLocalReturnVariableVectorSize
|
||||
// -> look for it and get it's actual size
|
||||
for (auto const& vpi : vectorParamIndices)
|
||||
{
|
||||
if ((vpi.first != vectorParamIndex.first) || (vpi.second != vectorParamIndex.second))
|
||||
if ((vpi.first != vectorParamIndex.first) && (vpi.second == vectorParamIndex.second))
|
||||
{
|
||||
size = startLowerCase(stripPrefix(params[vpi.first].name, "p")) + ".size()";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user