**blush**
authorJean-Luc Peurière <jlp@nerim.net>
Wed, 30 May 2007 21:34:21 +0000 (21:34 +0000)
committerJean-Luc Peurière <jlp@nerim.net>
Wed, 30 May 2007 21:34:21 +0000 (21:34 +0000)
I never committed the depth buffer changes from 16 to 32

thanks to meestaplu for spotting it

intern/ghost/intern/GHOST_WindowCarbon.cpp

index 9b0ccf37ef0b3389f6ad506d6b81d045f30b7772..04debe36191dbdfdf229b216e15b86285aabbbc4 100644 (file)
@@ -49,20 +49,22 @@ AGLContext GHOST_WindowCarbon::s_firstaglCtx = NULL;
 const GHOST_TInt32 GHOST_WindowCarbon::s_sizeRectSize = 16;
 #endif //GHOST_DRAW_CARBON_GUTTER
 
 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,
 };
 
 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_RGBA,
 AGL_DOUBLEBUFFER,
 AGL_ACCELERATED,
 AGL_FULLSCREEN,
-AGL_DEPTH_SIZE,                16,
+AGL_DEPTH_SIZE,                32,
+AGL_AUX_BUFFERS,     1,
 AGL_NONE,
 };
 
 AGL_NONE,
 };