mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Add Tracy's name to window title.
This commit is contained in:
parent
0aa77c9176
commit
ea9475dfdf
@ -76,7 +76,9 @@ static bool s_customTitle = false;
|
||||
static void SetWindowTitleCallback( const char* title )
|
||||
{
|
||||
assert( s_glfwWindow );
|
||||
glfwSetWindowTitle( s_glfwWindow, title );
|
||||
char tmp[1024];
|
||||
sprintf( tmp, "%s - Tracy Profiler %i.%i.%i", title, tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch );
|
||||
glfwSetWindowTitle( s_glfwWindow, tmp );
|
||||
s_customTitle = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user