[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56601] trunk/blender/intern/ghost/intern/ GHOST_WindowCocoa.mm: Attempt to fix OS X build with 10.6 SDK, was not working due to recent fullscreen bug fixes.

Brecht Van Lommel brechtvanlommel at pandora.be
Wed May 8 21:37:37 CEST 2013


Revision: 56601
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56601
Author:   blendix
Date:     2013-05-08 19:37:36 +0000 (Wed, 08 May 2013)
Log Message:
-----------
Attempt to fix OS X build with 10.6 SDK, was not working due to recent fullscreen bug fixes.

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	2013-05-08 17:33:25 UTC (rev 56600)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm	2013-05-08 19:37:36 UTC (rev 56601)
@@ -44,6 +44,13 @@
 #include "GHOST_SystemCocoa.h"
 #include "GHOST_Debug.h"
 
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
+/* Lion style fullscreen support when building with the 10.6 SDK */
+enum {
+	NSWindowCollectionBehaviorFullScreenPrimary = 1 << 7,
+	NSFullScreenWindowMask = 1 << 14
+};
+#endif
 
 #pragma mark Cocoa window delegate object
 /* live resize ugly patch




More information about the Bf-blender-cvs mailing list