mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-21 20:30:40 +00:00
Merge branch 'master' into docking
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// dear imgui, v1.91.6 WIP
|
||||
// dear imgui, v1.91.6
|
||||
// (main code and documentation)
|
||||
|
||||
// Help:
|
||||
@@ -4855,15 +4855,15 @@ void ImGui::DebugAllocHook(ImGuiDebugAllocInfo* info, int frame_count, void* ptr
|
||||
}
|
||||
if (size != (size_t)-1)
|
||||
{
|
||||
//printf("[%05d] MemAlloc(%d) -> 0x%p\n", frame_count, (int)size, ptr);
|
||||
entry->AllocCount++;
|
||||
info->TotalAllocCount++;
|
||||
//printf("[%05d] MemAlloc(%d) -> 0x%p\n", frame_count, size, ptr);
|
||||
}
|
||||
else
|
||||
{
|
||||
//printf("[%05d] MemFree(0x%p)\n", frame_count, ptr);
|
||||
entry->FreeCount++;
|
||||
info->TotalFreeCount++;
|
||||
//printf("[%05d] MemFree(0x%p)\n", frame_count, ptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user