mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-14 16:58:34 +00:00
Minor fixes after merging #226
This commit is contained in:
parent
83d3571b7c
commit
48d3cc46a0
2 changed files with 14 additions and 4 deletions
|
@ -6067,13 +6067,15 @@ void VmaBlockMetadata::DebugLogAllocation(VkDeviceSize offset, VkDeviceSize size
|
|||
#else
|
||||
if (userData != VMA_NULL && allocation->IsUserDataString())
|
||||
{
|
||||
VMA_DEBUG_LOG("UNFREED ALLOCATION; Offset: %llu; Size: %llu; UserData: %s",
|
||||
offset, size, reinterpret_cast<const char*>(userData));
|
||||
VMA_DEBUG_LOG("UNFREED ALLOCATION; Offset: %llu; Size: %llu; UserData: %s; Type: %u",
|
||||
offset, size, reinterpret_cast<const char*>(userData),
|
||||
(uint32_t)allocation->GetSuballocationType());
|
||||
}
|
||||
else
|
||||
{
|
||||
VMA_DEBUG_LOG("UNFREED ALLOCATION; Offset: %llu; Size: %llu; UserData: %p",
|
||||
offset, size, userData);
|
||||
VMA_DEBUG_LOG("UNFREED ALLOCATION; Offset: %llu; Size: %llu; UserData: %p; Type: %u",
|
||||
offset, size, userData,
|
||||
(uint32_t)allocation->GetSuballocationType());
|
||||
}
|
||||
#endif // VMA_STATS_STRING_ENABLED
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue