mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
NSGL: Disable API deprecation warnings
This commit is contained in:
parent
8055dad7e4
commit
a4fbc6fe91
|
@ -31,6 +31,10 @@
|
||||||
#include <CoreVideo/CVBase.h>
|
#include <CoreVideo/CVBase.h>
|
||||||
#include <CoreVideo/CVDisplayLink.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__)
|
#if defined(__OBJC__)
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user