Codechange: [OSX] We use OpenGL even if Apple doesn't like it.

pull/332/head
Michael Lutz 3 years ago
parent 0d5d3083bd
commit 883e21dbb7

@ -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>

@ -22,6 +22,7 @@
#define GL_GLEXT_PROTOTYPES
#if defined(__APPLE__)
# define GL_SILENCE_DEPRECATION
# include <OpenGL/gl3.h>
#else
# include <GL/gl.h>

Loading…
Cancel
Save