소스 검색

Add missing SDL2 attribution

Camilla Löwy 6 년 전
부모
커밋
297999c9e1
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/nsgl_context.m

+ 3 - 0
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,