1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Proper way to get full frame count.

This commit is contained in:
Bartosz Taudul
2018-09-01 12:38:12 +02:00
parent faea036c16
commit 9f4d6692dc
3 changed files with 32 additions and 1 deletions
+1 -1
View File
@@ -6354,7 +6354,7 @@ void View::DrawInfo()
TextFocused( "Call stacks:", RealToString( m_worker.GetCallstackPayloadCount(), true ) );
TextFocused( "Call stack frames:", RealToString( m_worker.GetCallstackFrameCount(), true ) );
const auto fsz = m_worker.GetFrameCount( *m_frames ) - 1;
const auto fsz = m_worker.GetFullFrameCount( *m_frames );
if( fsz != 0 )
{
if( m_frameSortData.frameSet != m_frames || m_frameSortData.frameNum != fsz )