summaryrefslogtreecommitdiffstats
path: root/platform/iphone/detect.py
diff options
context:
space:
mode:
authorSergey Minakov <naithar@icloud.com>2020-07-15 21:59:57 +0300
committerSergey Minakov <naithar@icloud.com>2020-07-25 21:55:20 +0200
commitbfc005d462d0e667392f7b53068bc8eae123eb5c (patch)
tree737acba2d856c0702dab064fa15555e7107f6519 /platform/iphone/detect.py
parent8dc2b267f95358596fb2467c01b572bade5bf7e1 (diff)
downloadredot-engine-bfc005d462d0e667392f7b53068bc8eae123eb5c.tar.gz
iOS: Vulkan support
Implemented Vulkan Support. Use DisplayServer for rendering and input handling Use single view for rendering in both GLES2 (not supported yet) and Vulkan Use @available checks where it's required (otherwise compiler would fail compilation) Simulator checks
Diffstat (limited to 'platform/iphone/detect.py')
-rw-r--r--platform/iphone/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/iphone/detect.py b/platform/iphone/detect.py
index 11e505b872..09304d40f6 100644
--- a/platform/iphone/detect.py
+++ b/platform/iphone/detect.py
@@ -143,6 +143,9 @@ def configure(env):
else:
env.Append(CCFLAGS=["-fno-exceptions"])
+ # Temp fix for ABS/MAX/MIN macros in iPhone SDK blocking compilation
+ env.Append(CCFLAGS=["-Wno-ambiguous-macro"])
+
## Link flags
if env["arch"] == "x86" or env["arch"] == "x86_64":