diff --git a/Rendering/OpenGL/vtkCocoaMacOSXSDKCompatibility.h b/Rendering/OpenGL/vtkCocoaMacOSXSDKCompatibility.h index 864c5b4ac62cce7fc17eb9143049a15fbb6720b5..2e9bb9de8c524e42cc612a712e39e67c89e9330b 100644 --- a/Rendering/OpenGL/vtkCocoaMacOSXSDKCompatibility.h +++ b/Rendering/OpenGL/vtkCocoaMacOSXSDKCompatibility.h @@ -25,8 +25,8 @@ PURPOSE. See the above copyright notice for more information. #error VTK requires the Mac OS X 10.6 SDK or later #endif -#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060 - #error VTK requires a deployment target of Mac OS X 10.6 or later +#if MAC_OS_X_VERSION_MIN_REQUIRED < 1068 + #error VTK requires a deployment target of Mac OS X 10.6.8 or later #endif // __has_feature is new in the 10.7 SDK, define it here if it's not yet defined. diff --git a/Rendering/OpenGL2/vtkCocoaMacOSXSDKCompatibility.h b/Rendering/OpenGL2/vtkCocoaMacOSXSDKCompatibility.h index 864c5b4ac62cce7fc17eb9143049a15fbb6720b5..2e9bb9de8c524e42cc612a712e39e67c89e9330b 100644 --- a/Rendering/OpenGL2/vtkCocoaMacOSXSDKCompatibility.h +++ b/Rendering/OpenGL2/vtkCocoaMacOSXSDKCompatibility.h @@ -25,8 +25,8 @@ PURPOSE. See the above copyright notice for more information. #error VTK requires the Mac OS X 10.6 SDK or later #endif -#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060 - #error VTK requires a deployment target of Mac OS X 10.6 or later +#if MAC_OS_X_VERSION_MIN_REQUIRED < 1068 + #error VTK requires a deployment target of Mac OS X 10.6.8 or later #endif // __has_feature is new in the 10.7 SDK, define it here if it's not yet defined. diff --git a/Rendering/OpenGL2/vtkCocoaRenderWindow.mm b/Rendering/OpenGL2/vtkCocoaRenderWindow.mm index 6e35d196f6798821f3d8142c0a96ee7e456366c3..0681c2633b0690846e44c1699bc9d8c1a5d873f5 100644 --- a/Rendering/OpenGL2/vtkCocoaRenderWindow.mm +++ b/Rendering/OpenGL2/vtkCocoaRenderWindow.mm @@ -871,7 +871,7 @@ void vtkCocoaRenderWindow::CreateGLContext() int i = 0; NSOpenGLPixelFormatAttribute attribs[20]; -#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 +#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 attribs[i++] = NSOpenGLPFAOpenGLProfile; attribs[i++] = NSOpenGLProfileVersion3_2Core; #endif @@ -926,7 +926,7 @@ void vtkCocoaRenderWindow::CreateGLContext() } else { -#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 +#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 this->SetContextSupportsOpenGL32(true); #else this->SetContextSupportsOpenGL32(false);