Changeset - r25720:e338424ce8cb
[Not reviewed]
master
0 2 0
Michael Lutz - 3 years ago 2021-06-21 23:40:40
michi@icosahedron.de
Codechange: [OSX] We use OpenGL even if Apple doesn't like it.
2 files changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/video/cocoa/cocoa_ogl.mm
Show inline comments
 
@@ -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>
src/video/opengl.cpp
Show inline comments
 
@@ -22,6 +22,7 @@
 

	
 
#define GL_GLEXT_PROTOTYPES
 
#if defined(__APPLE__)
 
#	define GL_SILENCE_DEPRECATION
 
#	include <OpenGL/gl3.h>
 
#else
 
#	include <GL/gl.h>
0 comments (0 inline, 0 general)