Skip to content

Commit 7cbced4

Browse files
authored
Merge pull request #1271 from johnhaddon/macGLDeprecations
SConstruct : Silence OpenGL deprecations on MacOS
2 parents 56d4062 + baad5e5 commit 7cbced4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SConstruct

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2211,7 +2211,8 @@ if env["WITH_GL"] and doConfigure :
22112211
glEnv.Append(
22122212
FRAMEWORKS = [
22132213
"OpenGL",
2214-
]
2214+
],
2215+
CPPDEFINES = [ "GL_SILENCE_DEPRECATION" ],
22152216
)
22162217
elif env["PLATFORM"] == "win32" :
22172218
glEnv.Append(

0 commit comments

Comments
 (0)