mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00: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…
Reference in New Issue
Block a user