mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-13 20:35:41 +00:00
Fix glfw backend.
This commit is contained in:
@@ -138,7 +138,7 @@ void Backend::Run()
|
||||
{
|
||||
glfwPollEvents();
|
||||
s_redraw();
|
||||
if( s_config.focusLostLimit && !glfwGetWindowAttrib( s_window, GLFW_FOCUSED ) ) std::this_thread::sleep_for( std::chrono::milliseconds( 50 ) );
|
||||
if( tracy::s_config.focusLostLimit && !glfwGetWindowAttrib( s_window, GLFW_FOCUSED ) ) std::this_thread::sleep_for( std::chrono::milliseconds( 50 ) );
|
||||
s_mainThreadTasks->Run();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user