I am trying to render everything in a frame buffer.

So i made a framebuffer with depth texture and color texture attached as shown here : http://www.opengl.org/wiki/Framebuff..._Depth_texture

But nothing is rendered if GL_DEPTH_TEST is enabled. What am i doing wrong?