diff --git a/glfw/nsgl_context.m b/glfw/nsgl_context.m index cfa398d94..97a6ba6b4 100644 --- a/glfw/nsgl_context.m +++ b/glfw/nsgl_context.m @@ -302,6 +302,10 @@ GLFWbool _glfwCreateContextNSGL(_GLFWwindow* window, if (window->ns.retina) [window->ns.view setWantsBestResolutionOpenGLSurface:YES]; + GLint interval = 0; + [window->context.nsgl.object setValues:&interval + forParameter:NSOpenGLContextParameterSwapInterval]; + [window->context.nsgl.object setView:window->ns.view]; window->context.makeCurrent = makeContextCurrentNSGL;