mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 20:33:52 +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 );
|
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
|
#if defined _WIN32
|
||||||
# ifdef TRACY_UWP
|
# ifdef TRACY_UWP
|
||||||
|
@ -17,7 +17,7 @@ TRACY_API uint32_t GetThreadHandleImpl();
|
|||||||
struct ThreadNameData
|
struct ThreadNameData
|
||||||
{
|
{
|
||||||
uint32_t id;
|
uint32_t id;
|
||||||
uint32_t groupHint;
|
int32_t groupHint;
|
||||||
const char* name;
|
const char* name;
|
||||||
ThreadNameData* next;
|
ThreadNameData* next;
|
||||||
};
|
};
|
||||||
@ -33,7 +33,7 @@ static inline uint32_t GetThreadHandle()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
TRACY_API void SetThreadName( const char* name );
|
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* GetThreadName( uint32_t id );
|
||||||
|
|
||||||
TRACY_API const char* GetEnvVar( const char* name );
|
TRACY_API const char* GetEnvVar( const char* name );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user