diff --git a/server/TracyView.cpp b/server/TracyView.cpp index db765907..ac1f8f68 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2406,6 +2406,7 @@ int View::DrawGpuZoneLevel( const Vector& vec, bool hover, double pxn auto& srcloc = GetSourceLocation( ev.srcloc ); const auto color = GetZoneColor( ev ); const auto end = GetZoneEnd( ev ); + if( end == std::numeric_limits::max() ) break; const auto zsz = ( end - ev.gpuStart ) * pxns; if( zsz < MinVisSize ) {