You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
[macOS] Move Wno-deprecated-declarations to pragmas in the OpenGL related files, update some deprecated code.
This commit is contained in:
@@ -231,7 +231,6 @@ def configure(env: "Environment"):
|
||||
|
||||
if env["opengl3"]:
|
||||
env.Append(CPPDEFINES=["GLES_ENABLED", "GLES3_ENABLED"])
|
||||
env.Append(CCFLAGS=["-Wno-deprecated-declarations"]) # Disable deprecation warnings
|
||||
env.Append(LINKFLAGS=["-framework", "OpenGL"])
|
||||
|
||||
env.Append(LINKFLAGS=["-rpath", "@executable_path/../Frameworks", "-rpath", "@executable_path"])
|
||||
|
||||
Reference in New Issue
Block a user