Removed OSX codepath for setting the depth value to 32 as this turned out to be unneccesary.

This commit is contained in:
Robert Osfield
2011-10-28 09:45:51 +00:00
parent 24ff8796d5
commit 20ffed1fa1

View File

@@ -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),