1
0
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:
Bartosz Taudul
2022-07-30 19:51:29 +02:00
parent e86238642a
commit 8b4385498d
4 changed files with 45 additions and 1 deletions
+7
View File
@@ -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 );