diff --git a/profiler/src/BackendGlfw.cpp b/profiler/src/BackendGlfw.cpp index b2f4caa1..dc9206fd 100644 --- a/profiler/src/BackendGlfw.cpp +++ b/profiler/src/BackendGlfw.cpp @@ -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(); } }