1
0
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:
bruvzg
2023-01-20 11:31:07 +02:00
parent 28a24639c3
commit aecfd92ea8
6 changed files with 17 additions and 3 deletions

View File

@@ -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"])