From afbdee68fae81cde81e662180f6d078892328d7a Mon Sep 17 00:00:00 2001 From: kgv Date: Thu, 23 Oct 2014 23:51:43 +0400 Subject: [PATCH] 0025417: Visualization, OpenGl_Context - fix preprocessor check to load GL functions on OS X --- src/OpenGl/OpenGl_Context.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenGl/OpenGl_Context.cxx b/src/OpenGl/OpenGl_Context.cxx index c9602a7707..9702d155f0 100644 --- a/src/OpenGl/OpenGl_Context.cxx +++ b/src/OpenGl/OpenGl_Context.cxx @@ -135,7 +135,7 @@ OpenGl_Context::OpenGl_Context (const Handle(OpenGl_Caps)& theCaps) #endif myDrawBuffer (0) { -#if defined(MAC_OS_X_VERSION_10_3) && !defined(MACOSX_USE_GLX) +#if defined(__APPLE__) && !defined(MACOSX_USE_GLX) // Vendors can not extend functionality on this system // and developers are limited to OpenGL support provided by Mac OS X SDK. // We retrieve function pointers from system library