From 6e716521f8a06b6d8161e72a63cc7e5c4379cba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Luc=20Peuri=C3=A8re?= Date: Wed, 30 May 2007 21:34:21 +0000 Subject: **blush** I never committed the depth buffer changes from 16 to 32 thanks to meestaplu for spotting it --- intern/ghost/intern/GHOST_WindowCarbon.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'intern') 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, }; -- cgit v1.2.3