Skip to content
Snippets Groups Projects
Commit 3d2d391f authored by Ryan Pavlik's avatar Ryan Pavlik
Browse files

st/oxr: Fix error message for xrCreateSession.

Missing graphics binding is XR_ERROR_GRAPHICS_DEVICE_INVALID.
parent 1d4e73ca
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ oxr_verify_XrSessionCreateInfo(struct oxr_logger* log,
if (inst->headless) {
return XR_SUCCESS;
}
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE,
return oxr_error(log, XR_ERROR_GRAPHICS_DEVICE_INVALID,
"createInfo->next");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment