mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
Use signed number to calculate frame offset.
This commit is contained in:
parent
e9080bdbcd
commit
26be78530f
@ -3344,7 +3344,7 @@ void Worker::ProcessFrameImage( const QueueFrameImage& ev )
|
||||
assert( it != m_pendingFrameImageData.end() );
|
||||
|
||||
auto& frames = m_data.framesBase->frames;
|
||||
const auto fidx = ev.frame - m_data.frameOffset + 1;
|
||||
const auto fidx = int64_t( ev.frame ) - m_data.frameOffset + 1;
|
||||
if( m_onDemand && fidx <= 1 )
|
||||
{
|
||||
m_pendingFrameImageData.erase( it );
|
||||
|
Loading…
Reference in New Issue
Block a user