mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Change group hint from unsigned to signed.
This commit is contained in:
parent
70a468e160
commit
beb42a3d29
@ -132,7 +132,7 @@ TRACY_API void SetThreadName( const char* name )
|
||||
SetThreadNameWithHint( name, 0 );
|
||||
}
|
||||
|
||||
TRACY_API void SetThreadNameWithHint( const char* name, uint32_t groupHint )
|
||||
TRACY_API void SetThreadNameWithHint( const char* name, int32_t groupHint )
|
||||
{
|
||||
#if defined _WIN32
|
||||
# ifdef TRACY_UWP
|
||||
|
@ -17,7 +17,7 @@ TRACY_API uint32_t GetThreadHandleImpl();
|
||||
struct ThreadNameData
|
||||
{
|
||||
uint32_t id;
|
||||
uint32_t groupHint;
|
||||
int32_t groupHint;
|
||||
const char* name;
|
||||
ThreadNameData* next;
|
||||
};
|
||||
@ -33,7 +33,7 @@ static inline uint32_t GetThreadHandle()
|
||||
#endif
|
||||
|
||||
TRACY_API void SetThreadName( const char* name );
|
||||
TRACY_API void SetThreadNameWithHint( const char* name, uint32_t groupHint );
|
||||
TRACY_API void SetThreadNameWithHint( const char* name, int32_t groupHint );
|
||||
TRACY_API const char* GetThreadName( uint32_t id );
|
||||
|
||||
TRACY_API const char* GetEnvVar( const char* name );
|
||||
|
Loading…
Reference in New Issue
Block a user