Commit 3a4e0209 authored by Ryan Pavlik's avatar Ryan Pavlik Committed by Jakob Bornecrantz

st/oxr: Fix conformance issue in begin session.

parent 6f41fbc4
Pipeline #32816 passed with stages
in 58 seconds
...@@ -69,6 +69,14 @@ oxr_session_begin(struct oxr_logger *log, ...@@ -69,6 +69,14 @@ oxr_session_begin(struct oxr_logger *log,
return oxr_error(log, XR_ERROR_SESSION_RUNNING, return oxr_error(log, XR_ERROR_SESSION_RUNNING,
" session is already running"); " session is already running");
} }
XrViewConfigurationType view_type =
beginInfo->primaryViewConfigurationType;
if (view_type != sess->sys->view_config_type) {
/*! @todo we only support a single view config type per system
* right now */
return oxr_error(log, XR_ERROR_SESSION_RUNNING,
" view configuration type not supported");
}
struct xrt_compositor *xc = sess->compositor; struct xrt_compositor *xc = sess->compositor;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment