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 );
|
||||
|
||||
TracyLfqPrepare( QueueType::Callstack );
|
||||
MemWrite( &item->callstack.ptr, ptr );
|
||||
MemWrite( &item->callstack.ptr, (uint64_t)ptr );
|
||||
TracyLfqCommit;
|
||||
#endif
|
||||
}
|
||||
|
@ -413,7 +413,7 @@ public:
|
||||
#ifdef TRACY_HAS_CALLSTACK
|
||||
auto ptr = Callstack( depth );
|
||||
TracyLfqPrepare( QueueType::Callstack );
|
||||
MemWrite( &item->callstack.ptr, ptr );
|
||||
MemWrite( &item->callstack.ptr, (uint64_t)ptr );
|
||||
TracyLfqCommit;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user