mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-15 09:18:34 +00:00
Made allocation Name and UserData separate. COMPATIBILITY BREAKING!
Added function vmaSetAllocationName. Added member VmaAllocationInfo::pName. VMA_ALLOCATION_CREATE_USER_DATA_COPY_STRING_BIT is now deprecated but still works. Code mostly by @medranSolus
This commit is contained in:
parent
bd39bed5e6
commit
caf27e0428
26 changed files with 301 additions and 214 deletions
|
@ -2623,12 +2623,14 @@ int Main2(int argc, wchar_t** argv)
|
|||
|
||||
int wmain(int argc, wchar_t** argv)
|
||||
{
|
||||
int result = 0;
|
||||
try
|
||||
{
|
||||
return Main2(argc, argv);
|
||||
result = Main2(argc, argv);
|
||||
TEST(g_CpuAllocCount.load() == 0);
|
||||
}
|
||||
CATCH_PRINT_ERROR(return (int)ExitCode::RuntimeError;)
|
||||
return result;
|
||||
}
|
||||
|
||||
#else // #ifdef _WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue