mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Only show "same zone" if zones are valid.
This commit is contained in:
parent
84d0f1a3ea
commit
9ab09d9867
@ -5230,7 +5230,7 @@ void View::DrawMemoryAllocWindow()
|
||||
}
|
||||
}
|
||||
|
||||
if( zoneAlloc == zoneFree )
|
||||
if( zoneAlloc != 0 && zoneAlloc == zoneFree )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(same zone)" );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user