Skip to content
  • amarcu5's avatar
    NSGL: Implement swap interval with CVDisplayLink · 82ca58da
    amarcu5 authored
    This fixes OpenGL swap interval (vsync) on macOS 10.14 Mojave by using
    CVDisplayLink to synchronise to the monitor refresh rate rather than
    setting NSOpenGLContextParameterSwapInterval.
    
    Solution based on advice provided by @rcgordon.
    
    Closes #1417.
    82ca58da