diff --git a/src/nsgl_context.m b/src/nsgl_context.m index 1f2f2218..bd2d66c3 100644 --- a/src/nsgl_context.m +++ b/src/nsgl_context.m @@ -364,6 +364,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.nsgl.swapIntervalCond = [NSCondition new];