mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
Fix callstack pointers in 32-bit builds.
This commit is contained in:
parent
9b9474ada1
commit
f186540c4f
@ -2573,7 +2573,7 @@ void Profiler::SendCallstack( int depth, const char* skipBefore )
|
|||||||
CutCallstack( ptr, skipBefore );
|
CutCallstack( ptr, skipBefore );
|
||||||
|
|
||||||
TracyLfqPrepare( QueueType::Callstack );
|
TracyLfqPrepare( QueueType::Callstack );
|
||||||
MemWrite( &item->callstack.ptr, ptr );
|
MemWrite( &item->callstack.ptr, (uint64_t)ptr );
|
||||||
TracyLfqCommit;
|
TracyLfqCommit;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -413,7 +413,7 @@ public:
|
|||||||
#ifdef TRACY_HAS_CALLSTACK
|
#ifdef TRACY_HAS_CALLSTACK
|
||||||
auto ptr = Callstack( depth );
|
auto ptr = Callstack( depth );
|
||||||
TracyLfqPrepare( QueueType::Callstack );
|
TracyLfqPrepare( QueueType::Callstack );
|
||||||
MemWrite( &item->callstack.ptr, ptr );
|
MemWrite( &item->callstack.ptr, (uint64_t)ptr );
|
||||||
TracyLfqCommit;
|
TracyLfqCommit;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user