From 1bc34debc1bc4d931cde5254aff3869b317e3cd9 Mon Sep 17 00:00:00 2001 From: kgv Date: Sun, 19 Dec 2021 12:29:47 +0300 Subject: [PATCH] 0032740: Coding Rules, OpenGl_Context.cxx - new warning on macOS after integration fix for #32732 --- src/OpenGl/OpenGl_Context.cxx | 3 +++ 1 file changed, 3 insertions(+) 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