mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Early exit in GpuCtx::Collect().
This commit is contained in:
parent
0cbeea97a2
commit
d0868b5004
@ -90,6 +90,8 @@ public:
|
||||
#ifndef TRACY_ON_DEMAND
|
||||
ZoneScopedC( Color::Red4 );
|
||||
|
||||
if( m_tail == m_head ) return;
|
||||
|
||||
auto start = m_tail;
|
||||
auto end = m_head + QueryCount;
|
||||
auto cnt = ( end - start ) % QueryCount;
|
||||
|
Loading…
Reference in New Issue
Block a user