The bug was introduced in 2f0fb1e4ef. The glfwSwapBuffers call should occur on the main UI thread, not the CoreVideo DisplayLink thread. PiperOrigin-RevId: 517172202 Change-Id: I2491f2194765019748198cd0cc61ca9263331b01
2f0fb1e4ef
-Wdeprecated-declarations
NSOpenGLContext
PiperOrigin-RevId: 516500366 Change-Id: I39d974626e51627c767c52a7f90135963fdeb1c2
OpenGL VSync became broken again in macOS 13 (https://github.com/glfw/glfw/issues/2249). This workaround is similar to https://github.com/glfw/glfw/pull/2277 but is implemented entirely outside of GLFW. PiperOrigin-RevId: 516320722 Change-Id: Ib8a651a942f592c74e00ad3c7b22f2dfd156be5f