···283283284284 struct xrt_compositor *xc = sess->compositor;
285285 if (xc != NULL) {
286286- XrViewConfigurationType view_type = beginInfo->primaryViewConfigurationType;
287287-288288- // in a headless session there is no compositor and primaryViewConfigurationType must be ignored
289289- if (sess->compositor != NULL && view_type != sess->sys->view_config_type) {
290290- /*! @todo we only support a single view config type per
291291- * system right now */
292292- return oxr_error(log, XR_ERROR_VIEW_CONFIGURATION_TYPE_UNSUPPORTED,
293293- "(beginInfo->primaryViewConfigurationType == "
294294- "0x%08x) view configuration type not supported",
295295- view_type);
296296- }
297297-298286 const struct oxr_extension_status *extensions = &sess->sys->inst->extensions;
299287300288 const struct xrt_begin_session_info begin_session_info = {