Fix order of inline and base subframes.

This commit is contained in:
Bartosz Taudul 2019-01-21 17:12:01 +01:00
parent c4f755e77b
commit ef17699887

View File

@ -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++ );
} }