I am trying to render to a QOpenGLFramebufferObject with a depth texture attached, but the texture returned doesn't seem to contain any information.
Is there some sample code or a tutorial showing how to properly use a QOpenGLFramebufferObject?
Thanks.