We enable depth testing when creating a depth buffer.
Fixes: #838
*
* If set to %TRUE the widget will allocate and enable a depth buffer for the
* target framebuffer.
+ *
+ * Setting this property will enable GL's depth testing as a side effect. If
+ * you don't need depth testing, you should call `glDisable(GL_DEPTH_TEST)`
+ * in your `GtkGLArea::render` handler.
*/
obj_props[PROP_HAS_DEPTH_BUFFER] =
g_param_spec_boolean ("has-depth-buffer",