Fix linking error in some configurations. Unresolved CallTrace symbol was observed in static MSVC RelWithDebInfo build (but not in debug build).

This commit is contained in:
Rokas Kupstys
2020-05-05 13:23:46 +03:00
parent 6727cc2da4
commit 04eaf358d0
+1 -1
View File
@@ -133,7 +133,7 @@ void InitCallstack()
#endif
}
TRACY_API tracy_force_inline uintptr_t* CallTrace( int depth )
TRACY_API uintptr_t* CallTrace( int depth )
{
auto trace = (uintptr_t*)tracy_malloc( ( 1 + depth ) * sizeof( uintptr_t ) );
const auto num = RtlWalkFrameChain( (void**)( trace + 1 ), depth, 0 );