mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Correct capitalization of allocateInitializer used in vector-returning functions with provided allocator.
This commit is contained in:
parent
4858cb67c1
commit
11b851dc20
@ -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