From 883e21dbb743831c3e100043717909e5819174ce Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Tue, 22 Jun 2021 01:40:40 +0200 Subject: Codechange: [OSX] We use OpenGL even if Apple doesn't like it. --- src/video/cocoa/cocoa_ogl.mm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/video/cocoa') 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 -- cgit v1.2.3-54-g00ecf