I am using OpenGL 1.2 with an STB nVidia TNT card. I setup a double buffered GLUT window with a depth buffer by calling:
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH );
I then enable Depth testing by calling:
glEnable( GL_DEPTH_TEST );
And the first thing I do for each display callback is clear the depth buffer:
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
But all I get is a blank screen. If I disable depth testing, then my polygons are displayed by the reverse order in which they were drawn. It doesn’t even seem to work properly on a machine with a Creative Labs TNT2 Ultra. Is this possibly a card/driver problem?