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
path: root/intern
diff options
context:
space:
mode:
authorJean-Luc Peurière <jlp@nerim.net>2007-05-31 01:34:21 +0400
committerJean-Luc Peurière <jlp@nerim.net>2007-05-31 01:34:21 +0400
commit6e716521f8a06b6d8161e72a63cc7e5c4379cba5 (patch)
treea671be97d835a7fb262c1ca42876bba9a65dd203 /intern
parent024485b9b8a1ad6a4e5e72665537b826f73ee86a (diff)
**blush**
I never committed the depth buffer changes from 16 to 32 thanks to meestaplu for spotting it
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_WindowCarbon.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCarbon.cpp b/intern/ghost/intern/GHOST_WindowCarbon.cpp
index 9b0ccf37ef0..04debe36191 100644
--- a/intern/ghost/intern/GHOST_WindowCarbon.cpp
+++ b/intern/ghost/intern/GHOST_WindowCarbon.cpp
@@ -49,20 +49,22 @@ AGLContext GHOST_WindowCarbon::s_firstaglCtx = NULL;
const GHOST_TInt32 GHOST_WindowCarbon::s_sizeRectSize = 16;
#endif //GHOST_DRAW_CARBON_GUTTER
-static const GLint sPreferredFormatWindow[9] = {
-AGL_RGBA, GL_TRUE,
-AGL_DOUBLEBUFFER, GL_TRUE,
-AGL_DEPTH_SIZE, 16,
+static const GLint sPreferredFormatWindow[8] = {
+AGL_RGBA,
+AGL_DOUBLEBUFFER,
+AGL_ACCELERATED,
+AGL_DEPTH_SIZE, 32,
AGL_AUX_BUFFERS, 1,
AGL_NONE,
};
-static const GLint sPreferredFormatFullScreen[7] = {
+static const GLint sPreferredFormatFullScreen[9] = {
AGL_RGBA,
AGL_DOUBLEBUFFER,
AGL_ACCELERATED,
AGL_FULLSCREEN,
-AGL_DEPTH_SIZE, 16,
+AGL_DEPTH_SIZE, 32,
+AGL_AUX_BUFFERS, 1,
AGL_NONE,
};