1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00

0025417: Visualization, OpenGl_Context - fix preprocessor check to load GL functions on OS X

This commit is contained in:
kgv 2014-10-23 23:51:43 +04:00 committed by bugmaster
parent 5e6a855aa9
commit afbdee68fa

@ -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