summaryrefslogtreecommitdiff
path: root/src/video/cocoa
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/cocoa')
-rw-r--r--src/video/cocoa/cocoa_ogl.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video/cocoa/cocoa_ogl.mm b/src/video/cocoa/cocoa_ogl.mm
index 96c3ea1bf..81222d2ab 100644
--- a/src/video/cocoa/cocoa_ogl.mm
+++ b/src/video/cocoa/cocoa_ogl.mm
@@ -12,6 +12,8 @@
#include "../../stdafx.h"
#include "../../os/macosx/macos.h"
+#define GL_SILENCE_DEPRECATION
+
#define Rect OTTDRect
#define Point OTTDPoint
#import <Cocoa/Cocoa.h>