From 20ffed1fa1eedf3c5ced9d44f93ddf08a2f630e2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 28 Oct 2011 09:45:51 +0000 Subject: [PATCH] Removed OSX codepath for setting the depth value to 32 as this turned out to be unneccesary. --- src/osg/GraphicsContext.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/osg/GraphicsContext.cpp b/src/osg/GraphicsContext.cpp index cf8d52246..73350e91e 100644 --- a/src/osg/GraphicsContext.cpp +++ b/src/osg/GraphicsContext.cpp @@ -165,12 +165,7 @@ GraphicsContext::Traits::Traits(DisplaySettings* ds): blue(8), green(8), alpha(0), -#ifdef __APPLE__ - // OSX versions + ATI/AMD hardware are dropping back to 16bit depth buffer when asked for a 24bit depth buffer, so use 32bit as default - depth(32), -#else depth(24), -#endif stencil(0), sampleBuffers(0), samples(0),