mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Use on demand flag in GetFirstTime().
This commit is contained in:
parent
f9449bc938
commit
a8cc3cb06b
@ -2187,7 +2187,7 @@ bool Worker::AreFramesUsed() const
|
|||||||
|
|
||||||
int64_t Worker::GetFirstTime() const
|
int64_t Worker::GetFirstTime() const
|
||||||
{
|
{
|
||||||
if( m_data.frameOffset == 0 ) return 0;
|
if( !m_onDemand ) return 0;
|
||||||
assert( m_data.framesBase->frames.size() >= 2 );
|
assert( m_data.framesBase->frames.size() >= 2 );
|
||||||
return m_data.framesBase->frames[2].start;
|
return m_data.framesBase->frames[2].start;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user