From d1ae380cc28313fc20dd1b8bacc952ce38e71d7a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 31 Jan 2026 19:10:31 +0100 Subject: [PATCH] Make View::DrawSourceTooltip() public. --- profiler/src/profiler/TracyView.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracyView.hpp b/profiler/src/profiler/TracyView.hpp index f497199e..ad1385ba 100644 --- a/profiler/src/profiler/TracyView.hpp +++ b/profiler/src/profiler/TracyView.hpp @@ -174,6 +174,7 @@ public: bool DrawGpu( const TimelineContext& ctx, const GpuCtxData& gpu, int& offset ); bool DrawCpuData( const TimelineContext& ctx, const std::vector& cpuDraw, const std::vector>& ctxDraw, int& offset, bool hasCpuData ); void DrawThreadMigrations( const TimelineContext& ctx, const int origOffset, uint64_t thread ); + void DrawSourceTooltip( const char* filename, uint32_t line, int before = 3, int after = 3, bool separateTooltip = true ); bool IsBackgroundDone() const { return m_worker.IsBackgroundDone(); } @@ -296,7 +297,6 @@ private: void DrawSampleParents(); void DrawRanges(); void DrawRangeEntry( Range& range, const char* label, uint32_t color, const char* popupLabel, int id ); - void DrawSourceTooltip( const char* filename, uint32_t line, int before = 3, int after = 3, bool separateTooltip = true ); void DrawWaitStacks(); void DrawManual(); void DrawFlameGraph();