Commit 225bac0c authored by Ryan Pavlik's avatar Ryan Pavlik

st/oxr: Enforce 0 session create flags

parent 761c4d7c
......@@ -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;
......
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