Codechange: [OSX] We use OpenGL even if Apple doesn't like it.
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Lutz
					Michael Lutz