Turning on Depth Buffer makes everything disappear !

I finally got to use textures on Android using OpenGL ES, and I found that its turn I started using the Depth buffer for some proper rendering. The moment I uncommented


The object disappeared and became invisible. Not even a pixel of the object was visible. Then a colleague of mine gave me a hint about clearing buffers !

Uffff ! I corrected the line

and everything was fine again !