[cig-commits] commit: adding the depth buffer in to Carbon background windows.

Mercurial hg at geodynamics.org
Mon Nov 24 11:29:26 PST 2008


changeset:   64:d10502e07909
user:        RobertTurnbull
date:        Tue Jul 15 02:07:03 2008 +0000
files:       Windowing/src/CarbonWindow.c
description:
adding the depth buffer in to Carbon background windows.
Now compositing of viewports works in parallel (interactive and non-interactive as well)


diff -r a639a069bee8 -r d10502e07909 Windowing/src/CarbonWindow.c
--- a/Windowing/src/CarbonWindow.c	Tue Jul 15 01:17:16 2008 +0000
+++ b/Windowing/src/CarbonWindow.c	Tue Jul 15 02:07:03 2008 +0000
@@ -454,6 +454,7 @@ void lucCarbonWindow_CreateBackgroundWin
 	CGLPixelFormatAttribute attribs[] = 	{
 		kCGLPFAOffScreen,
 		kCGLPFAColorSize, 32,
+		kCGLPFADepthSize, 16,
 		0
 	} ;
 	



More information about the CIG-COMMITS mailing list