mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #940 from asuessenbach/allocateInitializer
Correct capitalization of allocateInitializer used in vector-returning functions with provided allocator.
This commit is contained in:
commit
af2f318722
@ -5263,7 +5263,7 @@ std::string VulkanHppGenerator::constructCommandResultGetVector( std::string con
|
|||||||
|
|
||||||
return replaceWithMap(
|
return replaceWithMap(
|
||||||
functionTemplate,
|
functionTemplate,
|
||||||
{ { "allocateInitializer", withAllocator ? ( ", " + vectorElementType + "Allocator" ) : "" },
|
{ { "allocateInitializer", withAllocator ? ( ", " + startLowerCase( allocatorType ) ) : "" },
|
||||||
{ "allocatorType", allocatorType },
|
{ "allocatorType", allocatorType },
|
||||||
{ "argumentList", argumentList },
|
{ "argumentList", argumentList },
|
||||||
{ "callArguments",
|
{ "callArguments",
|
||||||
@ -5355,7 +5355,7 @@ std::string
|
|||||||
|
|
||||||
return replaceWithMap(
|
return replaceWithMap(
|
||||||
functionTemplate,
|
functionTemplate,
|
||||||
{ { "allocateInitializer", withAllocator ? ( ", " + vectorElementType + "Allocator" ) : "" },
|
{ { "allocateInitializer", withAllocator ? ( ", " + startLowerCase( allocatorType ) ) : "" },
|
||||||
{ "allocatorType", allocatorType },
|
{ "allocatorType", allocatorType },
|
||||||
{ "argumentList", argumentList },
|
{ "argumentList", argumentList },
|
||||||
{ "callArguments",
|
{ "callArguments",
|
||||||
|
Loading…
Reference in New Issue
Block a user