summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-08-11 10:44:36 +0300
committerTor Lillqvist <tml@iki.fi>2012-08-12 11:01:52 +0300
commit07a33fd7db64a873203166e68216c79c8ce42587 (patch)
tree734aa6f4fbbc38ca9166d75b670a53a4e318018b /slideshow
parenta910970f4914eb96cdd9f331033b8a2f84315007 (diff)
Check MACOSX_SDK_VERSION, not MAC_OS_X_VERSION_MIN_REQUIRED
Change-Id: I7b24c218d45cdcd743d0b56ae94e604c72c59ebf
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m b/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m
index 7d23b17f893a..3dd2fa00082d 100644
--- a/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m
+++ b/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m
@@ -81,10 +81,10 @@ typedef int NSColorRenderingIntent;
- (void)prepareOpenGL
{
// 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;
#else
- NSInteger swapInt = 1;
+ GLint swapInt = 1;
#endif