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

Update int for ___tracy_profiler_started

This commit is contained in:
Igor S. Gerasimov
2025-01-02 13:28:39 +01:00
parent 7f516e2fed
commit 8baa50b2f5
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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