diff --git a/src/nsgl_context.m b/src/nsgl_context.m index e26dae7d..1f2f2218 100755 --- a/src/nsgl_context.m +++ b/src/nsgl_context.m @@ -26,6 +26,9 @@ #include "internal.h" +// Display link callback for manual swap interval implementation +// This is based on a similar workaround added to SDL2 +// static CVReturn displayLinkCallback(CVDisplayLinkRef displayLink, const CVTimeStamp* now, const CVTimeStamp* outputTime,