mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
st/oxr: Enforce 0 session create flags
This commit is contained in:
parent
761c4d7ca8
commit
225bac0cfb
|
@ -459,6 +459,11 @@ oxr_verify_XrSessionCreateInfo(struct oxr_logger* log,
|
|||
"(createInfo->type)");
|
||||
}
|
||||
|
||||
if (createInfo->createFlags != 0) {
|
||||
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE,
|
||||
" Non-zero session create flags");
|
||||
}
|
||||
|
||||
XrResult result = oxr_system_verify_id(log, inst, createInfo->systemId);
|
||||
if (result != XR_SUCCESS) {
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue