NSGL: Disable API deprecation warnings

master
Camilla Löwy ago%!(EXTRA string=6 years)
parent 8055dad7e4
commit a4fbc6fe91
  1. 4
      src/cocoa_platform.h

@ -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

Loading…
Cancel
Save