Kaydet (Commit) 07a33fd7 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Check MACOSX_SDK_VERSION, not MAC_OS_X_VERSION_MIN_REQUIRED

Change-Id: I7b24c218d45cdcd743d0b56ae94e604c72c59ebf
üst a910970f
...@@ -81,10 +81,10 @@ typedef int NSColorRenderingIntent; ...@@ -81,10 +81,10 @@ typedef int NSColorRenderingIntent;
- (void)prepareOpenGL - (void)prepareOpenGL
{ {
// for overriding to initialize OpenGL state, occurs after context creation // for overriding to initialize OpenGL state, occurs after context creation
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050 #if MACOSX_SDK_VERSION < 1050
long swapInt = 1; long swapInt = 1;
#else #else
NSInteger swapInt = 1; GLint swapInt = 1;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment