Please help me. I 've some problem with Depth Buffer.

I want to write my own data to depth buffer.
I 've my array Data like this

  float arfDepth[800][600] =

I want to write this data to depth buffer. Help me please.
Thank you.

Use glDrawpixels with GL_DEPTH_COMPONENT as your format. That ought to do it.

– sec