From adb168a5ea6a8c2e3e6181650cac73c74936e6b9 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 30 Dec 2021 03:19:03 +0100 Subject: [PATCH] Fix offset. --- server/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index f75b2e45..20c3888b 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1938,7 +1938,7 @@ void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker, const auto maxAsm = strlen( tmp ) + 1; lx += ts * maxAsm + ty; } - if( m_hwSamples && worker.GetHwSampleCountAddress() != 0 ) lx += 19 * ts + ty; + if( m_hwSamples && worker.GetHwSampleCountAddress() != 0 ) lx += 17 * ts + ty; DrawLine( draw, dpos + ImVec2( lx, 0 ), dpos + ImVec2( lx, wh ), 0x08FFFFFF ); const AddrStatData zero;