[Libreoffice-commits] .: slideshow/source
Tor Lillqvist
tml at kemper.freedesktop.org
Sun Aug 12 01:06:50 PDT 2012
slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 07a33fd7db64a873203166e68216c79c8ce42587
Author: Tor Lillqvist <tml at iki.fi>
Date: Sat Aug 11 10:44:36 2012 +0300
Check MACOSX_SDK_VERSION, not MAC_OS_X_VERSION_MIN_REQUIRED
Change-Id: I7b24c218d45cdcd743d0b56ae94e604c72c59ebf
diff --git a/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m b/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m
index 7d23b17..3dd2fa0 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
More information about the Libreoffice-commits
mailing list