diff --git a/TracyOpenGL.hpp b/TracyOpenGL.hpp index 5712db37..94f20430 100644 --- a/TracyOpenGL.hpp +++ b/TracyOpenGL.hpp @@ -105,6 +105,7 @@ private: { const auto id = m_head; m_head = ( m_head + 1 ) % Num; + assert( m_head != m_tail ); return m_query[id]; }