diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-06-22 01:40:40 +0200 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-06-22 21:09:37 +0200 |
commit | 883e21dbb743831c3e100043717909e5819174ce (patch) | |
tree | b1c6b1a3178a98215ad7a8b840aa6e4e5698e5bc /src/video/cocoa/cocoa_ogl.mm | |
parent | 0d5d3083bd6f0f3c51b15d58a6cb525912e1b775 (diff) | |
download | openttd-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.mm | 2 |
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> |