Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-05-08 23:37:36 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-05-08 23:37:36 +0400
commit360a86d6586fa450d883edbe2278349e36448c4d (patch)
tree2d502381137bfd7c3f4aeac31fe8ded17e965926 /intern/ghost
parent872a8ed1bf635a62a65d3b2a92b7d2fbb368eea1 (diff)
Attempt to fix OS X build with 10.6 SDK, was not working due to recent fullscreen bug fixes.
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_WindowCocoa.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm
index 2be89af8ebe..5e73001ccfe 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.mm
+++ b/intern/ghost/intern/GHOST_WindowCocoa.mm
@@ -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