1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Remove GPU resync leftovers.

This commit is contained in:
Bartosz Taudul
2018-06-28 00:48:23 +02:00
parent 4c16aa9b96
commit 4a467b6d03
2 changed files with 0 additions and 19 deletions
-12
View File
@@ -2066,18 +2066,6 @@ void Worker::ProcessGpuTime( const QueueGpuTime& ev )
std::swap( zone->gpuEnd, zone->gpuStart );
}
}
if( !ctx->resync.empty() )
{
auto& resync = ctx->resync.front();
assert( resync.events > 0 );
resync.events--;
if( resync.events == 0 )
{
ctx->timeDiff = resync.timeDiff;
ctx->resync.erase( ctx->resync.begin() );
}
}
}
void Worker::ProcessMemAlloc( const QueueMemAlloc& ev )