mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Update int for ___tracy_profiler_started
This commit is contained in:
parent
7f516e2fed
commit
8baa50b2f5
@ -4980,9 +4980,9 @@ TRACY_API void ___tracy_shutdown_profiler( void )
|
||||
tracy::ShutdownProfiler();
|
||||
}
|
||||
|
||||
TRACY_API int ___tracy_profiler_started( void )
|
||||
TRACY_API int32_t ___tracy_profiler_started( void )
|
||||
{
|
||||
return tracy::s_isProfilerStarted.load( std::memory_order_seq_cst );
|
||||
return static_cast<int32_t>( tracy::s_isProfilerStarted.load( std::memory_order_seq_cst ) );
|
||||
}
|
||||
# endif
|
||||
|
||||
|
@ -204,7 +204,7 @@ typedef struct __tracy_lockable_context_data* TracyCLockCtx;
|
||||
#ifdef TRACY_MANUAL_LIFETIME
|
||||
TRACY_API void ___tracy_startup_profiler(void);
|
||||
TRACY_API void ___tracy_shutdown_profiler(void);
|
||||
TRACY_API int ___tracy_profiler_started(void);
|
||||
TRACY_API int32_t ___tracy_profiler_started(void);
|
||||
|
||||
# define TracyCIsStarted ___tracy_profiler_started()
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user