I an using an NSOpenGL view in OS X and drawing works perfectly except, it appears as though the Depth Buffer is not there, and I really mean NOT THERE.
I call glEndable(GL_DEPTH_TEST), however, objects are displayed in front of each other based on their draw order.
I have gone so far as to setup my own pixel format setting NSOpenGLPFADepthSize = 32 bits and re-initializing the NSOpenGLContext with my pixel format. This seems to have to affect.
Do I need to set something with the NSOpenGLContext? and if so, what and how?