add support for setting a framebuffer depth