mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 08:14:34 +00:00
Fix order of inline and base subframes.
This commit is contained in:
parent
c4f755e77b
commit
ef17699887
@ -6483,13 +6483,14 @@ void View::DrawCallstackWindow()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for( uint8_t f=0; f<frameData->size; f++ )
|
const auto fsz = frameData->size;
|
||||||
|
for( uint8_t f=0; f<fsz; f++ )
|
||||||
{
|
{
|
||||||
const auto& frame = frameData->data[f];
|
const auto& frame = frameData->data[f];
|
||||||
bidx++;
|
bidx++;
|
||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
if( f == 0 )
|
if( f == fsz-1 )
|
||||||
{
|
{
|
||||||
ImGui::Text( "%i", fidx++ );
|
ImGui::Text( "%i", fidx++ );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user