mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Use back_and_pop in GPU zone processing.
This commit is contained in:
parent
43ed934204
commit
7bf6bbbb94
@ -882,8 +882,7 @@ void View::ProcessGpuZoneEnd( const QueueGpuZoneEnd& ev )
|
||||
auto ctx = m_gpuData[it->second];
|
||||
|
||||
assert( !ctx->stack.empty() );
|
||||
auto zone = ctx->stack.back();
|
||||
ctx->stack.pop_back();
|
||||
auto zone = ctx->stack.back_and_pop();
|
||||
ctx->queue.push_back( zone );
|
||||
|
||||
zone->cpuEnd = ev.cpuTime * m_timerMul;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user