From a4fbc6fe91d556e263ba7231ba6faa62d192634c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Tue, 26 Mar 2019 18:30:17 +0100 Subject: [PATCH] NSGL: Disable API deprecation warnings --- src/cocoa_platform.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cocoa_platform.h b/src/cocoa_platform.h index 9c28cb67..d3d82b70 100644 --- a/src/cocoa_platform.h +++ b/src/cocoa_platform.h @@ -31,6 +31,10 @@ #include #include +// 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 #else