xr_example::extensions.depth_layer should not be true if the related extension is not supported
In function _check_xr_extensions
in xr.c, you check whether the XR_KHR_COMPOSITION_LAYER_DEPTH_EXTENSION_NAME
is supported in the xr instance, and set the value of
self->extensions.depth_layer
, which the value be set is wrong, the value should be false
instead of true
.
Furthermore, the following flow does not control well if the value is false.
I've run this good sample app on a runtime that does not support XR_KHR_COMPOSITION_LAYER_DEPTH_EXTENSION_NAME
and found this error.