From 040cc746e7327ed73f929752f35c22bc8be40fdf Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Mon, 15 Mar 2021 09:46:49 -0700 Subject: [PATCH] Fixes FEXConfig trying to update full refresh This burns a decent amount of CPU time just idling and we don't have active screen elements to matter here It's still responsive because it'll update as the window gets any events --- Source/Tools/FEXConfig/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Tools/FEXConfig/Main.cpp b/Source/Tools/FEXConfig/Main.cpp index 50aed56bd..b0baa9fa0 100644 --- a/Source/Tools/FEXConfig/Main.cpp +++ b/Source/Tools/FEXConfig/Main.cpp @@ -571,7 +571,7 @@ int main() { ImGui_ImplOpenGL3_Init(glsl_version); while (!glfwWindowShouldClose(Window)) { - glfwPollEvents(); + glfwWaitEvents(); // Start the Dear ImGui frame ImGui_ImplOpenGL3_NewFrame();