From 743ed537942c0537a3092931b9f6185c9969604b Mon Sep 17 00:00:00 2001 From: Adrian Cojocaru Date: Fri, 14 Aug 2026 14:57:36 +0300 Subject: [PATCH] fix (glfw): Remove duplicate `glfwSwapInterval` (#4484) --- platform/glfw/glfw_view.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/platform/glfw/glfw_view.cpp b/platform/glfw/glfw_view.cpp index 1701ae9b0..c914f7300 100644 --- a/platform/glfw/glfw_view.cpp +++ b/platform/glfw/glfw_view.cpp @@ -304,13 +304,6 @@ GLFWView::GLFWView(bool fullscreen_, glfwSetWindowRefreshCallback(window, onWindowRefresh); #endif - // "... applications will typically want to set the swap interval to one" - // https://www.glfw.org/docs/latest/quick.html#quick_swap_buffers - -#if defined(MLN_RENDER_BACKEND_OPENGL) - glfwSwapInterval(1); -#endif - glfwGetWindowSize(window, &width, &height); bool capFrameRate = !benchmark; // disable VSync in benchmark mode