summaryrefslogtreecommitdiff
path: root/src/video/cocoa/cocoa_ogl.mm
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-06-22 01:40:40 +0200
committerMichael Lutz <michi@icosahedron.de>2021-06-22 21:09:37 +0200
commit883e21dbb743831c3e100043717909e5819174ce (patch)
treeb1c6b1a3178a98215ad7a8b840aa6e4e5698e5bc /src/video/cocoa/cocoa_ogl.mm
parent0d5d3083bd6f0f3c51b15d58a6cb525912e1b775 (diff)
downloadopenttd-883e21dbb743831c3e100043717909e5819174ce.tar.xz
Codechange: [OSX] We use OpenGL even if Apple doesn't like it.
Diffstat (limited to 'src/video/cocoa/cocoa_ogl.mm')
-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>