mirror of https://github.com/OpenTTD/OpenTTD.git
Codechange: [OSX] We use OpenGL even if Apple doesn't like it.
This commit is contained in:
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…
Reference in New Issue