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

Don't pass GetFrameOffset() results to GetFrameText().

Frame offset can be retrieved internally.
This commit is contained in:
Bartosz Taudul
2023-03-04 00:29:00 +01:00
parent 9155b01ddf
commit 8164b776fd
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -317,7 +317,7 @@ private:
bool FindMatchingZone( int prev0, int prev1, int flags );
const ZoneEvent* FindZoneAtTime( uint64_t thread, int64_t time ) const;
uint64_t GetFrameNumber( const FrameData& fd, int i, uint64_t offset ) const;
const char* GetFrameText( const FrameData& fd, int i, uint64_t ftime, uint64_t offset ) const;
const char* GetFrameText( const FrameData& fd, int i, uint64_t ftime ) const;
const char* GetFrameSetName( const FrameData& fd ) const;
static const char* GetFrameSetName( const FrameData& fd, const Worker& worker );