mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Process Vsync frame messages.
Version bump is required due to frame set name pointer hack.
This commit is contained in:
@@ -813,6 +813,13 @@ const char* View::GetFrameSetName( const FrameData& fd, const Worker& worker )
|
||||
{
|
||||
return "Frames";
|
||||
}
|
||||
else if( fd.name >> 63 != 0 )
|
||||
{
|
||||
char* buf = bufpool[bufsel];
|
||||
bufsel = ( bufsel + 1 ) % Pool;
|
||||
sprintf( buf, "[%" PRIu32 "] Vsync", uint32_t( fd.name ) );
|
||||
return buf;
|
||||
}
|
||||
else
|
||||
{
|
||||
return worker.GetString( fd.name );
|
||||
|
||||
Reference in New Issue
Block a user