glEnable(GL_DEPTH_TEST) not working on mac

hi

I fixed the problem after reading the thread here:

http://forum.openframeworks.cc/t/antialiasing/648/0

In the ofSetupOpenGL method of ofAppRunner.cpp I changed this:

glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_ALPHA );

to this:

glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_ALPHA | GLUT_MULTISAMPLE);

All the files I have in libs/openFrameworks come from the hourly snapshot url here:

http://www.openframeworks.cc/downloads/-…-eworks.zip

Hope this helps if anyone has the same problem with GL_DEPTH_TEST.

cheers