I was wondering if I can deallocate the depth buffer in iPhone OpenGL ES to conserve memory? Or it stays until the application finishes?
I only need the depth testing in the beginning of the application.
You could create a new EAGLContext object and get rid of the old one. When you create the new one, you can set it up however you want.