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:
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowCarbon.cpp')
-rw-r--r--intern/ghost/intern/GHOST_WindowCarbon.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCarbon.cpp b/intern/ghost/intern/GHOST_WindowCarbon.cpp
index 1ffd117d658..9588ebce1b8 100644
--- a/intern/ghost/intern/GHOST_WindowCarbon.cpp
+++ b/intern/ghost/intern/GHOST_WindowCarbon.cpp
@@ -52,6 +52,9 @@ AGL_RGBA,
AGL_DOUBLEBUFFER,
AGL_ACCELERATED,
AGL_DEPTH_SIZE, 32,
+#ifdef WITH_ONSURFACEBRUSH
+AGL_STENCIL_SIZE, 8,
+#endif
AGL_NONE,
};
@@ -61,6 +64,9 @@ AGL_DOUBLEBUFFER,
AGL_ACCELERATED,
AGL_FULLSCREEN,
AGL_DEPTH_SIZE, 32,
+#ifdef WITH_ONSURFACEBRUSH
+AGL_STENCIL_SIZE, 8,
+#endif
AGL_NONE,
};