mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Update int for ___tracy_connected
This commit is contained in:
parent
a8f844b970
commit
cd8e2a5d8a
@ -4959,9 +4959,9 @@ TRACY_API void ___tracy_custom_name_lockable_ctx( struct __tracy_lockable_contex
|
||||
tracy::Profiler::QueueSerialFinish();
|
||||
}
|
||||
|
||||
TRACY_API int ___tracy_connected( void )
|
||||
TRACY_API int32_t ___tracy_connected( void )
|
||||
{
|
||||
return tracy::GetProfiler().IsConnected();
|
||||
return static_cast<int32_t>( tracy::GetProfiler().IsConnected() );
|
||||
}
|
||||
|
||||
#ifdef TRACY_FIBERS
|
||||
|
@ -246,7 +246,7 @@ TRACY_API void ___tracy_emit_gpu_context_name_serial( const struct ___tracy_gpu_
|
||||
TRACY_API void ___tracy_emit_gpu_calibration_serial( const struct ___tracy_gpu_calibration_data );
|
||||
TRACY_API void ___tracy_emit_gpu_time_sync_serial( const struct ___tracy_gpu_time_sync_data );
|
||||
|
||||
TRACY_API int ___tracy_connected(void);
|
||||
TRACY_API int32_t ___tracy_connected(void);
|
||||
|
||||
#ifndef TRACY_CALLSTACK
|
||||
#define TRACY_CALLSTACK 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user