1
0
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:
Bartosz Taudul 2018-07-17 23:32:29 +02:00
parent 84d0f1a3ea
commit 9ab09d9867

View File

@ -5230,7 +5230,7 @@ void View::DrawMemoryAllocWindow()
}
}
if( zoneAlloc == zoneFree )
if( zoneAlloc != 0 && zoneAlloc == zoneFree )
{
ImGui::SameLine();
ImGui::TextDisabled( "(same zone)" );