Properly initialize child index.

This commit is contained in:
Bartosz Taudul 2018-07-22 20:14:55 +02:00
parent 7d7877517e
commit 29159069ab

View File

@ -2056,6 +2056,7 @@ void Worker::ProcessGpuZoneBeginImpl( GpuEvent* zone, const QueueGpuZoneBegin& e
zone->gpuEnd = -1;
zone->srcloc = ShrinkSourceLocation( ev.srcloc );
zone->callstack = 0;
zone->child = -1;
if( ctx->thread == 0 )
{