mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Merge pull request #339 from voysys/fix-server-assertion-crash
Ignore uninitialized GPU contexts when rendering GPU events
This commit is contained in:
commit
dc874a732e
@ -19275,7 +19275,7 @@ uint64_t View::GetZoneThread( const GpuEvent& zone ) const
|
||||
{
|
||||
for( const auto& ctx : m_worker.GetGpuData() )
|
||||
{
|
||||
assert( ctx->threadData.size() == 1 );
|
||||
if ( ctx->threadData.size() != 1 ) continue;
|
||||
const Vector<short_ptr<GpuEvent>>* timeline = &ctx->threadData.begin()->second.timeline;
|
||||
if( timeline->empty() ) continue;
|
||||
for(;;)
|
||||
|
Loading…
Reference in New Issue
Block a user