mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Don't use obsolete function.
This commit is contained in:
parent
045f792e84
commit
a5381337f6
@ -363,7 +363,8 @@ bool View::DrawImpl()
|
|||||||
std::lock_guard lock( m_worker.GetDataLock() );
|
std::lock_guard lock( m_worker.GetDataLock() );
|
||||||
char tmp[2048];
|
char tmp[2048];
|
||||||
sprintf( tmp, "%s###Profiler", m_worker.GetCaptureName().c_str() );
|
sprintf( tmp, "%s###Profiler", m_worker.GetCaptureName().c_str() );
|
||||||
ImGui::Begin( tmp, keepOpenPtr, ImVec2( 1550, 800 ), -1, ImGuiWindowFlags_NoScrollbar );
|
ImGui::SetNextWindowSize( ImVec2( 1550, 800 ), ImGuiCond_FirstUseEver );
|
||||||
|
ImGui::Begin( tmp, keepOpenPtr, ImGuiWindowFlags_NoScrollbar );
|
||||||
if( !m_worker.IsDataStatic() )
|
if( !m_worker.IsDataStatic() )
|
||||||
{
|
{
|
||||||
if( ImGui::Button( m_pause ? MainWindowButtons[0] : MainWindowButtons[1], ImVec2( bw, 0 ) ) ) m_pause = !m_pause;
|
if( ImGui::Button( m_pause ? MainWindowButtons[0] : MainWindowButtons[1], ImVec2( bw, 0 ) ) ) m_pause = !m_pause;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user