mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Use proper index.
This commit is contained in:
parent
beea31edd0
commit
cd2f572a2f
@ -2888,9 +2888,9 @@ void Worker::ProcessFrameImage( const QueueFrameImage& ev )
|
||||
fi->ptr = (const char*)it->second;
|
||||
fi->w = ev.w;
|
||||
fi->h = ev.h;
|
||||
m_data.frameImage.push_back( fi );
|
||||
|
||||
const auto idx = m_data.frameImage.size();
|
||||
m_data.frameImage.push_back( fi );
|
||||
m_data.framesBase->frames.back().frameImage = idx;
|
||||
|
||||
m_pendingFrameImageData.erase( it );
|
||||
|
Loading…
Reference in New Issue
Block a user