From 297999c9e1b9879ec39fe721919c9c131fc95fdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Mon, 1 Apr 2019 17:42:27 +0200 Subject: [PATCH] Add missing SDL2 attribution --- src/nsgl_context.m | 3 +++ 1 file changed, 3 insertions(+) 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,