NSGL: Disable API deprecation warnings

This commit is contained in:
Camilla Löwy 2019-03-26 18:30:17 +01:00
parent 8055dad7e4
commit a4fbc6fe91

View File

@ -31,6 +31,10 @@
#include <CoreVideo/CVBase.h>
#include <CoreVideo/CVDisplayLink.h>
// NOTE: All of NSGL was deprecated in the 10.14 SDK
// This disables the pointless warnings for every symbol we use
#define GL_SILENCE_DEPRECATION
#if defined(__OBJC__)
#import <Cocoa/Cocoa.h>
#else