From 55d425807f6f1784d6ffd84586ae7efd77c1b352 Mon Sep 17 00:00:00 2001 From: BastiaanOlij Date: Wed, 4 Jan 2017 21:56:56 +1100 Subject: First set of changes to fix compilation errors and initialise the gles3 renderer for Mac OS X. Still broken at this point. --- servers/visual/shader_language.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'servers/visual') diff --git a/servers/visual/shader_language.h b/servers/visual/shader_language.h index 6326b5089e..b5f843c114 100644 --- a/servers/visual/shader_language.h +++ b/servers/visual/shader_language.h @@ -151,6 +151,11 @@ public: /* COMPILER */ + // lame work around to Apple defining this as a macro in 10.12 SDK + #ifdef TYPE_BOOL + #undef TYPE_BOOL + #endif + enum DataType { TYPE_VOID, TYPE_BOOL, -- cgit v1.2.3