From: kgv Date: Sun, 19 Dec 2021 09:29:47 +0000 (+0300) Subject: 0032740: Coding Rules, OpenGl_Context.cxx - new warning on macOS after integration... X-Git-Tag: V7_7_0_beta~208 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=1bc34debc1bc4d931cde5254aff3869b317e3cd9;p=occt.git 0032740: Coding Rules, OpenGl_Context.cxx - new warning on macOS after integration fix for #32732 --- diff --git a/src/OpenGl/OpenGl_Context.cxx b/src/OpenGl/OpenGl_Context.cxx index dc38571ef1..4d2bac38b9 100644 --- a/src/OpenGl/OpenGl_Context.cxx +++ b/src/OpenGl/OpenGl_Context.cxx @@ -15,6 +15,9 @@ #if defined(_WIN32) #include +#elif defined(__APPLE__) + // macOS 10.4 deprecated OpenGL framework - suppress useless warnings + #define GL_SILENCE_DEPRECATION #endif #include