1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Use TimelineContext when drawing CPU data.

This commit is contained in:
Bartosz Taudul
2023-03-19 00:23:33 +01:00
parent 26791f55d1
commit 5743bff0af
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ public:
void DrawThreadMessages( const ThreadData& thread, double pxns, int offset, const ImVec2& wpos, bool hover );
void DrawThreadOverlays( const ThreadData& thread, const ImVec2& ul, const ImVec2& dr );
bool DrawGpu( const GpuCtxData& gpu, double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax );
bool DrawCpuData( double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax );
bool DrawCpuData( const TimelineContext& ctx, int& offset );
bool m_showRanges = false;
Range m_statRange;