You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
[iOS] Restore OpenGLES3 renderer support.
This commit is contained in:
@@ -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",
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user