GL_ENABLE_DEPTH_TEST not working

Has anyone gotten glEnable(GL_DEPTH_TEST) working proplery in OF for iOS? It doesn’t seem to be working correctly and was wondering if there’s a simple fix.

It is very easy to set, have a look here http://forum.openframeworks.cc/t/ofmesh-on-iphone-wrong-depth/7391/0