mirror of
https://github.com/wolfpld/tracy.git
synced 2024-09-20 05:42:18 +00:00
Add Int48 clearing function.
This commit is contained in:
parent
0fdd5ab01b
commit
db1dc311b0
@ -133,6 +133,11 @@ public:
|
||||
SetVal( val );
|
||||
}
|
||||
|
||||
tracy_force_inline void Clear()
|
||||
{
|
||||
memset( m_val, 0, 6 );
|
||||
}
|
||||
|
||||
tracy_force_inline void SetVal( int64_t val )
|
||||
{
|
||||
memcpy( m_val, &val, 4 );
|
||||
|
Loading…
Reference in New Issue
Block a user