diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-23 10:24:51 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-23 10:24:51 +0100 |
commit | 59dce77d4f055b6211c5832cbd0ee14af4deefea (patch) | |
tree | c7c4e2ae82282f89a1d9b1cf4215f99c188026ed /platform/ios/detect.py | |
parent | db23d7a47ccc0e2b7bc2126bff540ee277c17480 (diff) | |
parent | 1cc5524b81dbc699a9eeb302ca9792377f8352c7 (diff) |
Merge pull request #71848 from bruvzg/ios_gles
[iOS] Restore OpenGLES3 renderer support.
Diffstat (limited to 'platform/ios/detect.py')
-rw-r--r-- | platform/ios/detect.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/platform/ios/detect.py b/platform/ios/detect.py index 38e62134b5..71612cf1fa 100644 --- a/platform/ios/detect.py +++ b/platform/ios/detect.py @@ -99,8 +99,8 @@ def configure(env: "Environment"): if env["ios_simulator"]: detect_darwin_sdk_path("iossimulator", env) - env.Append(ASFLAGS=["-mios-simulator-version-min=13.0"]) - env.Append(CCFLAGS=["-mios-simulator-version-min=13.0"]) + env.Append(ASFLAGS=["-mios-simulator-version-min=11.0"]) + env.Append(CCFLAGS=["-mios-simulator-version-min=11.0"]) env.extra_suffix = ".simulator" + env.extra_suffix else: detect_darwin_sdk_path("ios", env) @@ -153,3 +153,11 @@ def configure(env: "Environment"): if env["vulkan"]: env.Append(CPPDEFINES=["VULKAN_ENABLED"]) + + if env["opengl3"]: + env.Append(CPPDEFINES=["GLES3_ENABLED"]) + env.Prepend( + CPPPATH=[ + "$IOS_SDK_PATH/System/Library/Frameworks/OpenGLES.framework/Headers", + ] + ) |