X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FOpenGl%2FOpenGl_GlFunctions.hxx;h=34f950d32748f9eeb33d24b641f11781fe5d1189;hb=42451ec057a3653302b4a61ebf7f833ca2dcf381;hpb=66278500dbab688281beafd70d0a7eb1a74396d9 diff --git a/src/OpenGl/OpenGl_GlFunctions.hxx b/src/OpenGl/OpenGl_GlFunctions.hxx index f39015e87a..34f950d327 100644 --- a/src/OpenGl/OpenGl_GlFunctions.hxx +++ b/src/OpenGl/OpenGl_GlFunctions.hxx @@ -46,6 +46,8 @@ // include main OpenGL header provided with system #if defined(__APPLE__) #import + // macOS 10.4 deprecated OpenGL framework - suppress useless warnings + #define GL_SILENCE_DEPRECATION #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE #include #else