mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #1069 from asuessenbach/get
Remove restriction on get-commands to start with 'vkGet'
This commit is contained in:
commit
729550951c
@ -5030,13 +5030,10 @@ std::string VulkanHppGenerator::generateCommandSetVoid0Vector( std::string const
|
||||
}
|
||||
else if ( commandData.params[returnParamIndices[0]].type.type != "void" )
|
||||
{
|
||||
if ( beginsWith( name, "vkGet" ) )
|
||||
{
|
||||
return generateCommandSetStandardEnhanced(
|
||||
definition,
|
||||
generateCommandStandard( name, commandData, initialSkipCount, definition ),
|
||||
generateCommandVoidGetValue( name, commandData, initialSkipCount, definition, {}, returnParamIndices[0] ) );
|
||||
}
|
||||
return generateCommandSetStandardEnhanced(
|
||||
definition,
|
||||
generateCommandStandard( name, commandData, initialSkipCount, definition ),
|
||||
generateCommandVoidGetValue( name, commandData, initialSkipCount, definition, {}, returnParamIndices[0] ) );
|
||||
}
|
||||
}
|
||||
return "";
|
||||
|
Loading…
Reference in New Issue
Block a user