[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53013] trunk/blender/intern/ghost/intern/ GHOST_WindowCocoa.mm: Fix mac build error with SDK < 10.7, this version is not then defined then as
Brecht Van Lommel
brechtvanlommel at pandora.be
Fri Dec 14 21:56:19 CET 2012
Revision: 53013
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53013
Author: blendix
Date: 2012-12-14 20:56:14 +0000 (Fri, 14 Dec 2012)
Log Message:
-----------
Fix mac build error with SDK < 10.7, this version is not then defined then as
pointed out by Patrick Boelens on the mailing list.
Modified Paths:
--------------
trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm
Modified: trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm 2012-12-14 18:57:55 UTC (rev 53012)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm 2012-12-14 20:56:14 UTC (rev 53013)
@@ -578,7 +578,7 @@
setDrawingContextType(type);
updateDrawingContext();
activateDrawingContext();
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 // retina support started with 10.7.4 afaik
+#if defined(MAC_OS_X_VERSION_10_7) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7) // retina support started with 10.7.4 afaik
if (m_systemCocoa->m_nativePixel) {
[m_openGLView setWantsBestResolutionOpenGLSurface:YES];
NSRect backingBounds = [m_openGLView convertRectToBacking:[m_openGLView bounds]];
More information about the Bf-blender-cvs
mailing list